AdoS0WorkOrdControl.cs 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing;
  2. /// <summary>
  3. /// 工单控制参数(WorkOrdControl 语义):按 Domain 维护的单记录配置。
  4. /// </summary>
  5. [SugarTable("WorkOrdControl", "S0 工单控制参数设置")]
  6. [SugarIndex("uk_WorkOrdControl_domain", nameof(Domain), OrderByType.Asc, IsUnique = true)]
  7. public class AdoS0WorkOrdControl
  8. {
  9. [SugarColumn(ColumnDescription = "工单控制参数主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  10. public long Id { get; set; }
  11. [SugarColumn(ColumnDescription = "工单超报百分比(%)", DecimalDigits = 6, Length = 18, IsNullable = true)]
  12. public decimal? EnteringPer { get; set; }
  13. [SugarColumn(ColumnDescription = "计划超报百分比(%)", DecimalDigits = 6, Length = 18, IsNullable = true)]
  14. public decimal? PaintingPer { get; set; }
  15. [SugarColumn(ColumnDescription = "领料间隔时间(H)", DecimalDigits = 6, Length = 18, IsNullable = true)]
  16. public decimal? IssuedInterval { get; set; }
  17. [SugarColumn(ColumnDescription = "完成数量是否包含不良", ColumnDataType = "boolean")]
  18. public bool PostVarsatSFC { get; set; }
  19. [SugarColumn(ColumnDescription = "是否发料出库模式", ColumnDataType = "boolean")]
  20. public bool IsIssued { get; set; }
  21. [SugarColumn(ColumnDescription = "是否产生不良品标签", ColumnDataType = "boolean")]
  22. public bool IsPrintRejectBarcode { get; set; }
  23. [SugarColumn(ColumnDescription = "是否产生废品标签", ColumnDataType = "boolean")]
  24. public bool IsPrintScrapBarcode { get; set; }
  25. [SugarColumn(ColumnDescription = "不良品需要品保人员确认", ColumnDataType = "boolean")]
  26. public bool IsQualityConfirm { get; set; }
  27. [SugarColumn(ColumnDescription = "工厂域编码", Length = 50)]
  28. public string Domain { get; set; } = string.Empty;
  29. [SugarColumn(ColumnDescription = "是否启用", ColumnDataType = "boolean")]
  30. public bool IsActive { get; set; } = true;
  31. [SugarColumn(ColumnDescription = "是否确认", ColumnDataType = "boolean")]
  32. public bool IsConfirm { get; set; }
  33. [SugarColumn(ColumnDescription = "创建人", Length = 64, IsNullable = true)]
  34. public string? CreateUser { get; set; }
  35. [SugarColumn(ColumnDescription = "创建时间", IsNullable = true)]
  36. public DateTime? CreateTime { get; set; }
  37. [SugarColumn(ColumnDescription = "更新人", Length = 64, IsNullable = true)]
  38. public string? UpdateUser { get; set; }
  39. [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
  40. public DateTime? UpdateTime { get; set; }
  41. }