| | |
| | | namespace WIDESEA_Model.Models |
| | | { |
| | | [SugarTable(nameof(DtStockInfo_Hty), "库存信息历史")] |
| | | public class DtStockInfo_Hty : BaseEntity |
| | | public class DtStockInfo_Hty : BaseEntity,IBaseHistoryEntity |
| | | { |
| | | /// <summary> |
| | | /// 主键 |
| | |
| | | /// <summary> |
| | | /// 托盘编码 |
| | | /// </summary> |
| | | [Required] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "托盘编号")] |
| | | public string PalletCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 货位ID |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "货位ID")] |
| | | public string LocationId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 货位编码 |
| | |
| | | /// 是否整出 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "是否整出")] |
| | | public bool IsFullExit { get; set; } = true; |
| | | public bool IsFull { get; set; } = true; |
| | | |
| | | /// <summary> |
| | | /// 状态 |
| | |
| | | public int StockStatus { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 单据编号 |
| | | /// 物料名称 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "单据编号")] |
| | | public string OrderNo { get; set; } |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "物料名称")] |
| | | public string MaterielName { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 单据类型 |
| | | /// 出库时间 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "单据类型")] |
| | | public string OrderType { get; set; } |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "出库时间")] |
| | | public DateTime OutboundTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 工艺开始时间 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "工艺开始时间")] |
| | | public string LinedProcessFeedbackTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 工艺时长 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "工艺时长")] |
| | | public string SpecialParameterDuration { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 产线 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "产线")] |
| | | public string ProductionLine { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 库区ID |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "库区ID")] |
| | | public string AreaCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 当前工序 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "当前工序")] |
| | | public string ProcessCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 下一工序 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "下一工序")] |
| | | public string NextProcessCode { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 备注 |
| | |
| | | /// <summary> |
| | | /// 库存明细 |
| | | /// </summary> |
| | | [SugarColumn(ColumnName = "DtSTockInfoDetails")] |
| | | [SugarColumn(ColumnName = "DtStockInfoDetails")] |
| | | [Navigate(NavigateType.OneToMany, nameof(DtStockInfoDetail_Hty.StockId))] |
| | | public List<DtStockInfoDetail_Hty>? StockInfoDetails { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 备 注: 移入历史时间 |
| | | /// 默认值: |
| | | ///</summary> |
| | | [SugarColumn(ColumnName = "InsertTime", ColumnDescription = "移入历史时间")] |
| | | public DateTime InsertTime { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 备 注: 操作类型 |
| | | /// 默认值: |
| | | ///</summary> |
| | | [SugarColumn(ColumnName = "OperateType", ColumnDescription = "操作类型")] |
| | | public string OperateType { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 备 注: 源单ID |
| | | /// 默认值: |
| | | ///</summary> |
| | | [SugarColumn(ColumnName = "SourceId", ColumnDescription = "源单ID")] |
| | | public int SourceId { get; set; } |
| | | } |
| | | } |