AdoS0ProdLineDetail.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing;
  2. /// <summary>
  3. /// 生产线物料维护(源平台 ProdLineDetail)。
  4. /// </summary>
  5. [SugarTable("ProdLineDetail", "生产线物料维护表")]
  6. public class AdoS0ProdLineDetail
  7. {
  8. [SugarColumn(ColumnName = "id", ColumnDescription = "生产线物料主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")]
  9. public long Id { get; set; }
  10. [SugarColumn(ColumnName = "part", ColumnDescription = "物料编码", Length = 100)]
  11. public string Part { get; set; } = string.Empty;
  12. [SugarColumn(ColumnName = "op", ColumnDescription = "工序编码", Length = 100, IsNullable = true)]
  13. public string? Op { get; set; }
  14. [SugarColumn(ColumnName = "site", ColumnDescription = "工作中心编码", Length = 100, IsNullable = true)]
  15. public string? Site { get; set; }
  16. [SugarColumn(ColumnName = "line", ColumnDescription = "设备/生产线编码", Length = 100, IsNullable = true)]
  17. public string? Line { get; set; }
  18. [SugarColumn(ColumnName = "rate", ColumnDescription = "单位标准产能(小时)", DecimalDigits = 6, Length = 18, IsNullable = true)]
  19. public decimal? Rate { get; set; }
  20. [SugarColumn(ColumnName = "setup_time", ColumnDescription = "换模时间(小时)", DecimalDigits = 6, Length = 18, IsNullable = true)]
  21. public decimal? SetupTime { get; set; }
  22. [SugarColumn(ColumnName = "skill_no", ColumnDescription = "员工技能编码", Length = 100, IsNullable = true)]
  23. public string? SkillNo { get; set; }
  24. [SugarColumn(ColumnName = "internal_equipment_type_code", ColumnDescription = "厂内设备类型编码", Length = 100, IsNullable = true)]
  25. public string? InternalEquipmentTypeCode { get; set; }
  26. [SugarColumn(ColumnName = "mold_type_code", ColumnDescription = "模具类型编码", Length = 100, IsNullable = true)]
  27. public string? MoldTypeCode { get; set; }
  28. [SugarColumn(ColumnName = "standard_staff_count", ColumnDescription = "标准人数", IsNullable = true)]
  29. public int? StandardStaffCount { get; set; }
  30. [SugarColumn(ColumnName = "start", ColumnDescription = "起始标记/顺序", IsNullable = true)]
  31. public int? Start { get; set; }
  32. [SugarColumn(ColumnName = "is_active", ColumnDescription = "是否启用", ColumnDataType = "boolean")]
  33. public bool IsActive { get; set; } = true;
  34. [SugarColumn(ColumnName = "is_confirm", ColumnDescription = "是否确认", ColumnDataType = "boolean")]
  35. public bool IsConfirm { get; set; }
  36. [SugarColumn(ColumnName = "domain", ColumnDescription = "工厂域编码", Length = 50)]
  37. public string Domain { get; set; } = string.Empty;
  38. [SugarColumn(ColumnName = "create_user", ColumnDescription = "创建人", Length = 64, IsNullable = true)]
  39. public string? CreateUser { get; set; }
  40. [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间", IsNullable = true)]
  41. public DateTime? CreateTime { get; set; }
  42. [SugarColumn(ColumnName = "update_user", ColumnDescription = "更新人", Length = 64, IsNullable = true)]
  43. public string? UpdateUser { get; set; }
  44. [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)]
  45. public DateTime? UpdateTime { get; set; }
  46. }