using SqlSugar; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models; /// /// 生产出库单明细 /// [SugarTable("Dt_OutOrderProductionDetail", "生产出库单明细")] public class Dt_OutOrderProductionDetail : BaseEntity { /// /// 备 注:主键,自动增长 /// 默认值: /// [SugarColumn(ColumnName = "Id", IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键,自动增长")] public int Id { get; set; } /// /// 备 注:生产出库单ID(外键) /// 默认值: /// [SugarColumn(ColumnName = "ProductionOutOrderId", ColumnDescription = "生产出库单ID(外键)")] public int ProductionOutOrderId { get; set; } /// /// 备 注:物料ID /// 默认值: /// [SugarColumn(ColumnName = "MaterialId", ColumnDescription = "物料ID")] public int MaterialId { get; set; } /// /// 备 注: 数量 /// 默认值: /// [SugarColumn(ColumnName = "Quantity", ColumnDescription = " 数量")] public decimal Quantity { get; set; } /// /// 备 注:备注 /// 默认值: /// [SugarColumn(ColumnName = "Remarks", ColumnDescription = "备注", Length = 100)] public string? Remarks { get; set; } /// /// 备 注:批次号 /// 默认值: /// [SugarColumn(ColumnName = "BatchNumber", ColumnDescription = "批次号", Length = 30)] public string BatchNumber { get; set; } = null!; }