1
huangxiaoqiang
8 天以前 644cbe3e4eba765affa25454d69fee6286bb6094
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/BasicModel/DtStockInfoDetail.cs
@@ -1,6 +1,7 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
@@ -24,56 +25,97 @@
    public int StockId { get; set; }
    /// <summary>
    /// ç‰©æ–™ç¼–号
    /// ç‰©æ–™ç¼–码 ç»‘定代码
    /// </summary>
    [Required]
    [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "物料编号")]
    public string MaterielCode { get; set; }
    /// <summary>
    /// ç‰©æ–™åç§°
    /// </summary>
    [Required]
    [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "物料名称")]
    public string MaterielName { get; set; }
    /// <summary>
    /// éœ€æ±‚分类
    /// </summary>
    [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "需求分类")]
    public string DemandClassification { get; set; }
    /// <summary>
    /// ä»“库
    /// </summary>
    [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "仓库")]
    public string Warehouse { get; set; }
    /// <summary>
    /// ä»“库ID
    /// </summary>
    [SugarColumn(IsNullable = false, ColumnDescription = "WareHouseId")]
    public string WareHouseId { get; set; }
    /// <summary>
    /// å•据编号
    /// </summary>
    [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "单据编号")]
    [Required]
    [SugarColumn(IsNullable = true, Length = 50, ColumnDescription = "单据编号")]
    public string OrderNo { get; set; }
    /// <summary>
    /// æ‰¹æ¬¡å·
    /// å•位
    /// </summary>
    [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "批次号")]
    public string BatchNo { get; set; }
    [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "单位")]
    public string Unit { get; set; }
    /// <summary>
    /// åºåˆ—号
    /// </summary>
    [SugarColumn(IsNullable = false, Length = 100, ColumnDescription = "序列号")]
    public string SerialNumber { get; set; }
    /// è§„æ ¼
    /// </summary
    [SugarColumn(IsNullable = false, Length = 100, ColumnDescription = "规格")]
    public string Specs { get; set; }
    /// <summary>
    /// åº“存数量
    /// </summary>
    [SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "库存数量")]
    public decimal StockQuantity { get; set; }
    [SugarColumn(IsNullable = false, DecimalDigits = 4, ColumnDescription = "重量")]
    public decimal Weight { get; set; }
    /// <summary>
    /// æ•°é‡
    /// </summary>
    [SugarColumn(IsNullable = true, DecimalDigits = 4, ColumnDescription = "数量", DefaultValue = "0")]
    public decimal Quantity { get; set; }
    /// <summary>
    /// å‡ºåº“数量
    /// </summary>
    [SugarColumn(IsNullable = false, DecimalDigits = 2, ColumnDescription = "出库数量", DefaultValue = "0")]
    [SugarColumn(IsNullable = true, DecimalDigits = 4, ColumnDescription = "数量", DefaultValue = "0")]
    public decimal OutboundQuantity { get; set; }
    /// <summary>
    /// åº“存明细状态
    /// ç»„盘状态 ç”µèŠ¯çŠ¶æ€
    /// </summary>
    [SugarColumn(IsNullable = false, ColumnDescription = "库存明细状态")]
    [Required]
    [SugarColumn(IsNullable = false, ColumnDescription = "组盘状态")]
    public int Status { get; set; }
    /// <summary>
    /// å¤‡æ³¨
    /// å›¾å·
    /// </summary>
    [SugarColumn(IsNullable = true, ColumnDescription = "备注")]
    [SugarColumn(IsNullable = false, ColumnDescription = "图号")]
    public string DrawingNumber { get; set; }
    /// <summary>
    /// æ—¥æœŸ
    /// </summary>
    [SugarColumn(IsNullable = false, ColumnDescription = "日期")]
    public string Date { get; set; }
    /// <summary>
    /// è°ƒæ‹¨ä»“库
    /// </summary>
    [SugarColumn(IsNullable = true, ColumnDescription = "调拨仓库")]
    public string Remark { get; set; }
}