using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models { [SugarTable("Dt_CabinOrder", "入库单表")] public class Dt_CabinOrder:BaseEntity { [SugarColumn(ColumnName ="Id",IsPrimaryKey =true,IsIdentity =true,ColumnDescription ="主键")] public int Id { get; set; } [SugarColumn(ColumnName = "Order_no",IsNullable =true,Length =50,ColumnDescription ="入库单号")] public string Order_no { get; set; } [SugarColumn(ColumnName = "Order_type", IsNullable = true, Length = 3, ColumnDescription = "入库类型:1正常/3退货")] public string Order_type { get; set; } [SugarColumn(ColumnName = "Supplier_no", IsNullable = true, Length = 50, ColumnDescription = "供应商代码")] public string Supplier_no { get; set; } [SugarColumn(ColumnName = "Account_tiem", IsNullable = true, ColumnDescription = "入库记账时间")] public DateTime Account_tiem { get; set; } //下面是否需要这些字段? //优先级 priority //[SugarColumn(ColumnName ="Priority",IsNullable =true,ColumnDescription ="优先级")] //public int Priority { get; set; } //是否取消 Iscancel //[SugarColumn(ColumnName = "Iscancel", IsNullable = true, ColumnDescription = "是否取消(1是0否)")] //public int Iscancel { get; set; } } }