using Admin.NET.Core; /* * @author : 您的名字 * @date : 2024/6/11下午2:34:14 * @desc : 锁定库存信息 */ namespace Admin.NET.Application.Entity { /// /// 锁定库存信息 /// public class StockQuanLockOutput { /// /// 物料编号 /// [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 = "SNCode", ColumnDescription = "跟踪码", Length = 255)] public string? SNCode { get; set; } /// /// 锁定数量 /// [Required] [SugarColumn(ColumnName = "Quantity", ColumnDescription = "数量", Length = 10, DecimalDigits = 3)] public decimal Quantity { get; set; } //该字段废弃 【Editby shaocx,2024-07-11】 ///// ///// 使用数量-分拣后更新使用数,计算可用库存时,实际锁定数= Quantity-UsageQuality ///// //[Required] //[SugarColumn(ColumnName = "UsageQuality", ColumnDescription = "使用数量", Length = 10, DecimalDigits = 3)] //public decimal UsageQuality { get; set; } /// /// 锁定类型 /// [Required] [SugarColumn(ColumnName = "LockType", ColumnDescription = "锁定类型")] public LockTypeEnum LockType { get; set; } /// /// 锁定类型名称 /// [Required] [SugarColumn(ColumnName = "LockTypeName", ColumnDescription = "锁定类型名称", Length = 50)] public string LockTypeName { get; set; } /// /// 容器编号 /// [SugarColumn(ColumnName = "ContainerCode", ColumnDescription = "容器编号", Length = 50)] public string? ContainerCode { get; set; } /// /// 容器名称 /// [SugarColumn(ColumnName = "ContainerName", ColumnDescription = "容器名称", Length = 50)] public string? ContainerName { get; set; } /// /// 库位编码 /// [SugarColumn(ColumnName = "PlaceCode", ColumnDescription = "库位编码", Length = 50)] public string? PlaceCode { get; set; } /// /// 库位名称 /// [SugarColumn(ColumnName = "PlaceName", ColumnDescription = "库位名称", Length = 50)] public string? PlaceName { get; set; } /// /// 库区编码 /// [SugarColumn(ColumnName = "AreaCode", ColumnDescription = "库区编码", Length = 50)] public string? AreaCode { get; set; } /// /// 库区名称 /// [SugarColumn(ColumnName = "AreaName", ColumnDescription = "库区名称", Length = 50)] public string? AreaName { get; set; } /// /// 供应商批次 /// [SugarColumn(ColumnName = "SupplierBatch", ColumnDescription = "供应商批次", Length = 50)] public string? SupplierBatch { get; set; } /// /// 批次 /// [SugarColumn(ColumnName = "Batch", ColumnDescription = "批次", Length = 255)] public string? Batch { get; set; } /// /// ERP库存地 /// [SugarColumn(ColumnName = "ErpCode", ColumnDescription = "ERP库存地", Length = 50)] public string? ErpCode { get; set; } /// /// 波次单号 /// [SugarColumn(ColumnName = "SortNo", ColumnDescription = "波次单号", Length = 50)] public string? SortNo { get; set; } /// /// 波次单行号 /// [SugarColumn(ColumnName = "SortNoLineNumber", ColumnDescription = "波次单行号", Length = 50)] public string? SortNoLineNumber { get; set; } /// /// 移动单号 /// [SugarColumn(ColumnName = "MovementNo", ColumnDescription = "移动单号", Length = 50)] public string? MovementNo { get; set; } /// /// 移动单行号 /// [SugarColumn(ColumnName = "MovementLineNumber", ColumnDescription = "移动行号", Length = 50)] public string? MovementLineNumber { get; set; } /// /// 关联单号 /// [SugarColumn(ColumnName = "RelationNo", ColumnDescription = "关联单号", Length = 50)] public string? RelationNo { get; set; } /// /// 关联单行号 /// [SugarColumn(ColumnName = "RelationNoLineNumber", ColumnDescription = "关联单行号", Length = 50)] public string? RelationNoLineNumber { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 255)] public string? Remarks { get; set; } } }