1
huangxiaoqiang
2025-10-20 63dcb7fc55d32960f643f4040900ce9a0e33536d
ÏîÄ¿´úÂë/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,54 +25,77 @@
    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 = 50, ColumnDescription = "单据编号")]
    [SugarColumn(IsNullable = false, Length = 200, ColumnDescription = "仓库")]
    public string Warehouse { get; set; }
    /// <summary>
    /// å•据编号 / é€šé“
    /// </summary>
    [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 = false, DecimalDigits = 2, ColumnDescription = "出库数量", DefaultValue = "0")]
    public decimal OutboundQuantity { get; set; }
    [SugarColumn(IsNullable = true, DecimalDigits = 4, ColumnDescription = "数量", DefaultValue = "0")]
    public decimal Quantity { get; set; }
    /// <summary>
    /// åº“存明细状态
    /// ç»„盘状态 ç”µèŠ¯çŠ¶æ€
    /// </summary>
    [SugarColumn(IsNullable = false, ColumnDescription = "库存明细状态")]
    [Required]
    [SugarColumn(IsNullable = false, ColumnDescription = "组盘状态")]
    public int Status { get; set; }
    /// <summary>
    /// å›¾å·
    /// </summary>
    [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 = "备注")]