1
heshaofeng
2026-03-25 37454e625df68d40897112b2e8c2e3cf4d7163e3
ÏîÄ¿´úÂë/WMSÎÞ²Ö´¢°æ/WIDESEA_WMSServer/WIDESEA_Model/Models/Basic/Dt_MaterielCodeInfo.cs
@@ -12,8 +12,8 @@
    /// <summary>
    /// ç‰©æ–™ç ä¿¡æ¯
    /// </summary>
    [SugarTable(nameof(Dt_MaterielCodeInfo), "物料码信息")]
    public class Dt_MaterielCodeInfo : BaseEntity
    [SugarTable(nameof(Dt_MaterialCodeInfo), "物料码信息")]
    public class Dt_MaterialCodeInfo : BaseEntity
    {
        /// <summary>
        /// ä¸»é”®
@@ -25,46 +25,109 @@
        /// ç‰©æ–™ç¼–号
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料编号")]
        public string MaterielCode { get; set; }
        public string MaterialCode { get; set; }
        /// <summary>
        /// ä»“库主键
        /// ç‰©æ–™åç§°
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "仓库编号")]
        public int WarehouseId { get; set; }
        [SugarColumn(IsNullable = true, Length = 255, ColumnDescription = "物料名称")]
        public string? MaterialName { get; set; }
        /// <summary>
        /// æ‰¹æ¬¡å·
        /// ä¾›åº”商编号
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "批次号")]
        public string LotNo { get; set; }
        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "供应商编号")]
        public string? SuplierCode { get; set; }
        /// <summary>
        /// ç”Ÿäº§æ—¥æœŸ
        ///
        /// </summary>
        [ImporterHeader(Name = "生产日期")]
        [ExporterHeader(DisplayName = "生产日期")]
        [SugarColumn(IsNullable = false, IsOnlyIgnoreUpdate = true, ColumnDescription = "生产日期")]
        public DateTime ProductionDate {  get; set; }
        [SugarColumn(IsNullable = true)]
        public int? OrderId { get; set; }
        /// <summary>
        /// æœ‰æ•ˆæœŸ
        ///
        /// </summary>
        [ImporterHeader(Name = "有效期")]
        [ExporterHeader(DisplayName = "有效期")]
        [SugarColumn(IsNullable = false, IsOnlyIgnoreUpdate = true, ColumnDescription = "有效期")]
        public DateTime EffectiveDate { get; set; }
        [SugarColumn(IsNullable = true, Length = 50)]
        public string? OrderNo { get; set; }
        /// <summary>
        /// é‡‡è´­å•号
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "采购单号")]
        public string PurchaseOrderNo { get; set; }
        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "采购单号")]
        public string? PruchaseOrderNo { get; set; }
        /// <summary>
        /// æ•°é‡
        /// ç‰©æ–™è§„æ ¼
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "数量")]
        public float Quantity { get; set; }
        [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "物料规格")]
        public string? MaterialSpec { get; set; }
        /// <summary>
        /// æ‰¹æ¬¡
        /// </summary>
        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "批次")]
        public string? BatchNo { get; set; }
        /// <summary>
        /// åŽ‚åŒº
        /// </summary>
        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "厂区")]
        public string? FactoryArea { get; set; }
        /// <summary>
        ///
        /// </summary>
        [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "厂区")]
        public string? WarehouseCode { get; set; }
        /// <summary>
        /// æ—¥æœŸ
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "物料编号")]
        public string Date { get; set; }
        /// <summary>
        /// æ–°æ¡ç 
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "新条码")]
        public string NewBarcode { get; set; }
        /// <summary>
        /// åŽŸæ¡ç 
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "原条码")]
        public string OldBarcode { get; set; }
        /// <summary>
        /// åŽŸæ•°é‡
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "原数量")]
        public decimal OriginalQuantity { get; set; }
        /// <summary>
        /// æ–°æ•°é‡
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "新数量")]
        public decimal AfterQuantity { get; set; }
        /// <summary>
        /// å•位
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "单位")]
        public string Unit { get; set; }
        /// <summary>
        ///
        /// </summary>
        [SugarColumn(IsNullable = false)]
        public int ReturnStatus { get; set; }
        /// <summary>
        /// å¤‡æ³¨
        /// </summary>
        [SugarColumn(IsNullable = true, Length = 500, ColumnDescription = "备注")]
        public string? Remark { get; set; }
    }
}