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 Distri_Workorder_Exception : IBaseModel { /// /// id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// 项目id /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string projectid { get; set; } /// /// 工单id ------------------------------------------- /// [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string woid { get; set; } /// /// 工单编号 /// public string wocode { get; set; } /// /// 异常类型 1完结配送异常 2取货异常 --------------------------------- /// public int type { get; set; } = 1; /// /// 是否送达/是否退单(0否1是) - 异常上报 /// public int isback_sended { get; set; } = 0; /// /// 异常内容 /// public string content { get; set; } /// /// 异常附件 /// public List files { get; set; } /// /// 提交人 ------------------------------------------------- /// public string createuser { get; set; } = ""; /// /// 提交人姓名 /// public string createusername { get; set; } = ""; /// /// 提交时间 /// public DateTime createtime { get; set; } = DateTime.Now; /// /// 是否删除(0正常1删除) /// public int isdelete { get; set; } = 0; /// /// 删除用户 /// public string deleteby { get; set; } /// /// 删除时间 /// public DateTime? deletetime { get; set; } } }