namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing; /// /// 工单控制参数(WorkOrdControl 语义):按 Domain 维护的单记录配置。 /// [SugarTable("WorkOrdControl", "S0 工单控制参数设置")] [SugarIndex("uk_WorkOrdControl_domain", nameof(Domain), OrderByType.Asc, IsUnique = true)] public class AdoS0WorkOrdControl { [SugarColumn(ColumnDescription = "工单控制参数主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")] public long Id { get; set; } [SugarColumn(ColumnDescription = "工单超报百分比(%)", DecimalDigits = 6, Length = 18, IsNullable = true)] public decimal? EnteringPer { get; set; } [SugarColumn(ColumnDescription = "计划超报百分比(%)", DecimalDigits = 6, Length = 18, IsNullable = true)] public decimal? PaintingPer { get; set; } [SugarColumn(ColumnDescription = "领料间隔时间(H)", DecimalDigits = 6, Length = 18, IsNullable = true)] public decimal? IssuedInterval { get; set; } [SugarColumn(ColumnDescription = "完成数量是否包含不良", ColumnDataType = "boolean")] public bool PostVarsatSFC { get; set; } [SugarColumn(ColumnDescription = "是否发料出库模式", ColumnDataType = "boolean")] public bool IsIssued { get; set; } [SugarColumn(ColumnDescription = "是否产生不良品标签", ColumnDataType = "boolean")] public bool IsPrintRejectBarcode { get; set; } [SugarColumn(ColumnDescription = "是否产生废品标签", ColumnDataType = "boolean")] public bool IsPrintScrapBarcode { get; set; } [SugarColumn(ColumnDescription = "不良品需要品保人员确认", ColumnDataType = "boolean")] public bool IsQualityConfirm { get; set; } [SugarColumn(ColumnDescription = "工厂域编码", Length = 50)] public string Domain { get; set; } = string.Empty; [SugarColumn(ColumnDescription = "是否启用", ColumnDataType = "boolean")] public bool IsActive { get; set; } = true; [SugarColumn(ColumnDescription = "是否确认", ColumnDataType = "boolean")] public bool IsConfirm { get; set; } [SugarColumn(ColumnDescription = "创建人", Length = 64, IsNullable = true)] public string? CreateUser { get; set; } [SugarColumn(ColumnDescription = "创建时间", IsNullable = true)] public DateTime? CreateTime { get; set; } [SugarColumn(ColumnDescription = "更新人", Length = 64, IsNullable = true)] public string? UpdateUser { get; set; } [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)] public DateTime? UpdateTime { get; set; } }