using DS.Module.Core.Data; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Op.Entity { /// /// 订舱货物状态 /// [SqlSugar.SugarTable("op_booking_goods_status", "订舱货物状态")] public class BookingGoodsStatus : BaseModel { /// /// 业务id /// [SqlSugar.SugarColumn(ColumnDescription = "业务id", IsNullable = false)] public long? BusinessId { get; set; } /// /// 货物状态配置ID 雪花id /// [SqlSugar.SugarColumn(ColumnDescription = "货物状态id", IsNullable = false)] public long? ConfigId { get; set; } /// /// 状态代码 /// [SqlSugar.SugarColumn(ColumnDescription = "状态代码", IsNullable = true, Length = 100)] public string StatusCode { get; set; } /// /// 状态名称 /// [SqlSugar.SugarColumn(ColumnDescription = "状态名称", IsNullable = true, Length = 100)] public string StatusName { get; set; } /// /// 状态时间 /// [SqlSugar.SugarColumn(ColumnDescription = "状态时间", IsNullable = true)] public DateTime? StatusTime { get; set; } /// /// 完成时间 /// [SqlSugar.SugarColumn(ColumnDescription = "状态时间", IsNullable = true)] public DateTime? FinishTime { get; set; } /// /// 完成人 /// [SqlSugar.SugarColumn(ColumnDescription = "完成人", IsNullable = true, Length = 100)] public string FinishUserName { get; set; } /// /// 完成人ID /// [SqlSugar.SugarColumn(ColumnDescription = "完成人ID", IsNullable = true)] public long? FinishBy { get; set; } /// /// 是否公开 /// [SqlSugar.SugarColumn(ColumnDescription = "是否公开", IsNullable = true,DefaultValue ="0")] public bool IsPublic { get; set; } /// /// 附加数据 /// [SqlSugar.SugarColumn(ColumnDescription = "附加数据", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)] public string ExtData { get; set; } } }