using MadRunFabric.Common; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace MadRunFabric.Model { /// /// 流转明细 - 配送工单 /// [BsonIgnoreExtraElements] public class Distri_Workorder_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计划工单/) /// public int wotype { get; set; } = 0; /// /// 配送工单状态:0创建工单,1转派或者抢单(待取货),2已取货(配送中),3货物异常(异常),4已完结/待评价,5已取消,6挂起,7退单,9已评价 /// public int wostate { get; set; } = 0; /// /// 处理内容 /// public string detail { get; set; } /// /// 货物异常(异常) 0正常,1异常 /// public int equipstate { get; set; } = 0; /// /// 异常说明 /// public string exceptions { get; set; } /// /// 渠道来源 1表示PC 2表示安卓 3表示IOS 4表示微信 /// public int channel { get; set; } = 1; ///// ///// 当前记录的状态 0进行中,1已结束 ///// //public int itemstate { get; set; } = 0; /// /// 满意度打分☆☆☆☆☆ /// (注:其中默认都是5星,最低只能打1星,每一星对应20分,合计100分) /// public int starnum { get; set; } /// /// 处理人 ------------------------------------------- /// public List dealby { get; set; } = new List(); /// /// 处理时间 /// public DateTime dealtime { get; set; } /// /// 是否最后一步 0否 1是 /// public int islast { get; set; } = 0; /// /// 接单人工号 ------------------------------------------- /// public List sureuser { get; set; } = new List(); /// /// 确认时间 /// public DateTime suretime { get; set; } /// /// 当前记录的状态 0进行中,1已结束 /// public int itemstate { get; set; } = 0; /// /// 添加人工号 ------------------------------------------- /// public string createby { get; set; } /// /// 添加时间 /// public DateTime createtime { get; set; } = DateTime.Now; /// /// 是否删除(0正常 1删除) /// public int isdelete { get; set; } /// /// 删除人 /// public string deleteby { get; set; } /// /// 删除时间 /// public DateTime deletetime { get; set; } } }