using MadRunFabric.Common; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace MadRunFabric.Model { /// /// 保养工单处理轨迹表 /// public class Wo_Maintain_Items : IBaseModel { /// /// id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// 工单id /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string woid { get; set; } /// /// 工单编号 /// public string wocode { get; set; } = ""; /// /// 任务状态:0创建工单,1已转派,2挂起,9已完成 /// public int wostate { get; set; } = 0; /// /// 当前记录的状态 0进行中,1已结束 /// public int itemstate { get; set; } = 0; /// /// 是否催办(0不催办1催办) /// public int ishasten { get; set; } = 0; /// /// 指定处理人 /// public string touser { get; set; } = ""; /// /// 指定处理部门 /// public string todept { get; set; } = ""; /// /// 处理内容 /// public string detail { get; set; } = ""; ///// ///// 附件 ///// //public List files { get; set; } /// /// 备注 /// public string remark { get; set; } = ""; /// /// 处理人 /// public string dealuser { get; set; } = ""; /// /// 处理时间 /// public DateTime dealtime { get; set; } /// /// 是否最后一步 0否 1是 /// public int islast { get; set; } = 0; /// /// 接单人工号 /// public string sureuser { get; set; } = ""; /// /// 确认时间 /// public DateTime suretime { get; set; } /// /// 提交时间 /// public DateTime createtime { get; set; } /// /// 提交人 /// public string createby { get; set; } = ""; /// /// 是否删除 /// public bool isdelete { get; set; } = false; } }