namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing; /// /// 生产线物料维护(源平台 ProdLineDetail)。 /// [SugarTable("ProdLineDetail", "生产线物料维护表")] public class AdoS0ProdLineDetail { [SugarColumn(ColumnName = "RecID", ColumnDescription = "生产线物料主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "int")] public int Id { get; set; } [SugarColumn(ColumnName = "Part", ColumnDescription = "物料编码", Length = 100)] public string Part { get; set; } = string.Empty; [SugarColumn(ColumnName = "Op", ColumnDescription = "工序编码", ColumnDataType = "int")] public int Op { get; set; } [SugarColumn(ColumnName = "Site", ColumnDescription = "工作中心编码", Length = 100, IsNullable = true)] public string? Site { get; set; } [SugarColumn(ColumnName = "Line", ColumnDescription = "设备/生产线编码", Length = 100, IsNullable = true)] public string? Line { get; set; } [SugarColumn(ColumnName = "Rate", ColumnDescription = "单位标准产能(小时)", DecimalDigits = 6, Length = 18, IsNullable = true)] public decimal? Rate { get; set; } [SugarColumn(ColumnName = "SetupTime", ColumnDescription = "换模时间(小时)", DecimalDigits = 6, Length = 18, IsNullable = true)] public decimal? SetupTime { get; set; } [SugarColumn(ColumnName = "OverlapTime", ColumnDescription = "重叠时间(小时)", DecimalDigits = 6, Length = 18, ColumnDataType = "decimal(18,6)")] public decimal OverlapTime { get; set; } [SugarColumn(ColumnName = "Sequence", ColumnDescription = "顺序值", DecimalDigits = 6, Length = 18, ColumnDataType = "decimal(18,6)")] public decimal Sequence { get; set; } [SugarColumn(ColumnName = "SkillNo", ColumnDescription = "员工技能编码", Length = 100, IsNullable = true)] public string? SkillNo { get; set; } [SugarColumn(ColumnName = "InternalEquipmentCode", ColumnDescription = "厂内设备编码", Length = 100, IsNullable = true)] public string? InternalEquipmentCode { get; set; } [SugarColumn(ColumnName = "internal_equipment_type_code", ColumnDescription = "厂内设备类型编码", Length = 100, IsNullable = true)] public string? InternalEquipmentTypeCode { get; set; } [SugarColumn(ColumnName = "MoldTypeCode", ColumnDescription = "模具类型编码", Length = 100, IsNullable = true)] public string? MoldTypeCode { get; set; } [SugarColumn(ColumnName = "StandardStaffCount", ColumnDescription = "标准人数", DecimalDigits = 6, Length = 18, ColumnDataType = "decimal(18,6)")] public decimal StandardStaffCount { get; set; } [SugarColumn(ColumnName = "Start", ColumnDescription = "起始标记/顺序", IsNullable = true)] public int? Start { get; set; } [SugarColumn(ColumnName = "IsActive", ColumnDescription = "是否启用", ColumnDataType = "boolean")] public bool IsActive { get; set; } = true; [SugarColumn(ColumnName = "IsConfirm", ColumnDescription = "是否确认", ColumnDataType = "boolean")] public bool IsConfirm { get; set; } [SugarColumn(ColumnName = "Domain", ColumnDescription = "工厂域编码", Length = 50)] public string Domain { get; set; } = string.Empty; [SugarColumn(ColumnName = "CreateUser", ColumnDescription = "创建人", Length = 64, IsNullable = true)] public string? CreateUser { get; set; } [SugarColumn(ColumnName = "CreateTime", ColumnDescription = "创建时间", IsNullable = true)] public DateTime? CreateTime { get; set; } [SugarColumn(ColumnName = "UpdateUser", ColumnDescription = "更新人", Length = 64, IsNullable = true)] public string? UpdateUser { get; set; } [SugarColumn(ColumnName = "UpdateTime", ColumnDescription = "更新时间", IsNullable = true)] public DateTime? UpdateTime { get; set; } [SugarColumn(ColumnName = "RunCrew", ColumnDescription = "运行班组", Length = 8, IsNullable = true)] public string? RunCrew { get; set; } [SugarColumn(ColumnName = "OpType", ColumnDescription = "工序类型", Length = 50, IsNullable = true)] public string? OpType { get; set; } [SugarColumn(ColumnName = "tenant_id", ColumnDescription = "租户ID", IsNullable = true, ColumnDataType = "bigint")] public long? TenantId { get; set; } [SugarColumn(ColumnName = "Bom", ColumnDescription = "BOM编码", Length = 24, IsNullable = true)] public string? Bom { get; set; } }