using Admin.NET.Core;
/*
* @author : 您的名字
* @date : 2024/5/31下午5:39:07
* @desc : DO单明细
*/
namespace Admin.NET.Application.Entity
{
///
/// DO单明细
///
[SugarTable("wms_order_deliver_details", "DO单明细")]
public class WmsOrderDeliverDetails : EntityBase
{
///
/// DO单ID
///
[Required]
[SugarColumn(ColumnName = "DoId", ColumnDescription = "DO单ID")]
public long DoId { get; set; }
///
/// DO单号
///
[Required]
[SugarColumn(ColumnName = "DoNo", ColumnDescription = "DO单号", Length = 50)]
public string DoNo { get; set; }
///
/// 状态
///
[Required]
[SugarColumn(ColumnName = "DoDetailStatus", ColumnDescription = "状态")]
public OrderStatusEnum DoDetailStatus { get; set; }
///
/// 状态名称
///
[Required]
[SugarColumn(ColumnName = "DoDetailStatusName", ColumnDescription = "状态名称", Length = 255)]
public string DoDetailStatusName { get; set; }
///
/// 行号
///
[Required]
[SugarColumn(ColumnName = "DoLineNumber", ColumnDescription = "行号", Length = 50)]
public string DoLineNumber { get; set; }
///
/// 物料编号
///
[Required]
[SugarColumn(ColumnName = "MaterialCode", ColumnDescription = "物料编号", Length = 50)]
public string MaterialCode { get; set; }
///
/// 物料名称
///
[Required]
[SugarColumn(ColumnName = "MaterialName", ColumnDescription = "物料名称", Length = 50)]
public string MaterialName { get; set; }
///
/// 单位
///
[SugarColumn(ColumnName = "Unit", ColumnDescription = "单位", Length = 50)]
public string? Unit { get; set; }
///
/// 数量
///
[Required]
[SugarColumn(ColumnName = "Quantity", ColumnDescription = "数量", Length = 10, DecimalDigits = 3)]
public decimal Quantity { get; set; }
///
/// 已发货数
///
[Required]
[SugarColumn(ColumnName = "DeliverQuantity", ColumnDescription = "已发货数", Length = 10, DecimalDigits = 3)]
public decimal DeliverQuantity { get; set; }
///
/// 已创建波次数
///
[Required]
[SugarColumn(ColumnName = "CreateWaveQuantity", ColumnDescription = "已创建波次数", Length = 10, DecimalDigits = 3)]
public decimal CreateMovementQuantity { get; set; }
///
/// 标准包装
///
[Required]
[SugarColumn(ColumnName = "SNP", ColumnDescription = "标准包装", Length = 10, DecimalDigits = 3)]
public decimal? SNP { get; set; }
///
/// 客户编号
///
[SugarColumn(ColumnName = "CustCode", ColumnDescription = "客户编号", Length = 50)]
public string? CustCode { get; set; }
///
/// 客户名称
///
[SugarColumn(ColumnName = "CustName", ColumnDescription = "客户名称", Length = 255)]
public string? CustName { get; set; }
}
}