yanjinhui
2025-10-14 ff4660980ccfe3e123df8d5fa820266784625c74
´úÂë¹ÜÀí/WIDESEA_WMSServer/WIDESEA_Model/Models/SquareCabin/Dt_CabinOrder.cs
@@ -12,21 +12,33 @@
    [SugarTable("Dt_CabinOrder", "入库单表")]
    public class Dt_CabinOrder:BaseEntity
    {
        [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        [SugarColumn(ColumnName ="Id",IsPrimaryKey =true,IsIdentity =true,ColumnDescription ="主键")]
        public  int  Id { get; set; }
        public int Id { get; set; }
        [SugarColumn(ColumnName = "Order_no",IsNullable =true,Length =50,ColumnDescription ="入库单号")]
        [SugarColumn(IsNullable =true,Length =50,ColumnDescription ="入库单号")]
        public  string Order_no { get; set; }
        [SugarColumn(ColumnName = "Order_type", IsNullable = true, Length = 3, ColumnDescription = "入库类型:1正常/3退货")]
        [SugarColumn(IsNullable = true, Length = 3, ColumnDescription = "入库类型:1正常/3退货")]
        public string Order_type { get; set; }
        [SugarColumn(ColumnName = "Supplier_no", IsNullable = true, Length = 50, ColumnDescription = "供应商代码")]
        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "供应商代码")]
        public string Supplier_no { get; set; }
        [SugarColumn(ColumnName = "Account_tiem", IsNullable = true, ColumnDescription = "入库记账时间")]
        public DateTime Account_tiem { get; set; }
        [SugarColumn(IsNullable = true, ColumnDescription = "入库记账时间")]
        public DateTime?Account_tiem { get; set; }
        /// <summary>
        /// ä¸‹æ¸¸çŠ¶æ€ æ–°å»ºï¼Œå¼€å§‹ï¼Œå·²å®Œæˆ
        /// ä¸‹æ¸¸ä¸‹å‘(新建)
        /// è¯¦æƒ…开始(开始)
        /// è¯¦æƒ…全部完成(已完成,上传给上游系统,移入历史表删除信息)
        /// </summary>
        [SugarColumn(ColumnName = "OdrderStatus",IsNullable = true,Length =50, ColumnDescription = "表头状态")]
        public string OdrderStatus { get; set; }
        //下面是否需要这些字段?
        //优先级 priority
@@ -39,6 +51,9 @@
        //[SugarColumn(ColumnName = "Iscancel", IsNullable = true, ColumnDescription = "是否取消(1是0否)")]
        //public int Iscancel { get; set; }
        [Navigate(NavigateType.OneToMany,nameof(Dt_CabinOrderDetail.OrderId))]
        public List<Dt_CabinOrderDetail> Details { get; set; }
    }
}