using MadRunFabric.Common; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.IO; using System.Linq; using System.Text; namespace MadRunFabric.Model.WorkOrderApi { public class Cus_AuthOrder : IBaseModel { /// /// id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// 项目id /// public string pro_id { get; set; } /// /// 项目name /// public string pro_name { get; set; } // /// 授权类型 /// public string auth_type { get; set; } /// /// 授权到期时间 /// public DateTime? authendtime { get; set; } /// /// 申请说明 /// public string content { get; set; } /// /// 是否删除 /// public int isdelete { get; set; } = 0; /// /// 删除用户 /// public string deleteuser { get; set; } /// /// 删除时间 /// public DateTime? deletetime { get; set; } /// /// 创建时间 /// public DateTime createtime { get; set; } = DateTime.Now; /// /// 创建人工号 /// public string createuser { get; set; } /// /// 状态:1为申请授权续期,2为续期,3为开启,4为暂停 /// public int infotype { get; set; } /// /// 状态:1为申请授权续期,2为续期,3为开启,4为暂停,5为撤回,6为通过,7为确认已续期,8为已暂停,9为已开启 /// public int state { get; set; } } }