namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing; /// /// 标准工艺路线明细(源平台 RoutingOpDetail 行级复刻,方案 A)。 /// [SugarTable("RoutingOpDetail", "S0 标准工艺路线明细")] public class AdoS0MfgRoutingOpDetail { [SugarColumn(ColumnDescription = "主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")] public long Id { get; set; } [SugarColumn(ColumnDescription = "公司", ColumnDataType = "bigint")] public long CompanyRefId { get; set; } [SugarColumn(ColumnDescription = "工厂", ColumnDataType = "bigint")] public long FactoryRefId { get; set; } [SugarColumn(ColumnDescription = "工艺路线编码(Ufld11)", Length = 100)] public string RouteCode { get; set; } = string.Empty; [SugarColumn(ColumnDescription = "工艺路线名称(Ufld12)", Length = 200)] public string RouteName { get; set; } = string.Empty; [SugarColumn(ColumnDescription = "物料编码(RoutingCode)", Length = 100)] public string MaterialCode { get; set; } = string.Empty; [SugarColumn(ColumnDescription = "工序编码(Op)", Length = 100)] public string OperationCode { get; set; } = string.Empty; [SugarColumn(ColumnDescription = "工序名称(Descr)", Length = 200)] public string OperationDescription { get; set; } = string.Empty; [SugarColumn(ColumnDescription = "工作中心编码(WorkCtr)", Length = 100)] public string WorkCenterCode { get; set; } = string.Empty; [SugarColumn(ColumnDescription = "报工工序(MilestoneOp)", Length = 100, IsNullable = true)] public string? MilestoneOperation { get; set; } [SugarColumn(ColumnDescription = "自定义字段Ufld1", Length = 200, IsNullable = true)] public string? Ufld1 { get; set; } [SugarColumn(ColumnDescription = "活动一(Ufld2)", Length = 200, IsNullable = true)] public string? Ufld2 { get; set; } [SugarColumn(ColumnDescription = "数量一(UDeci1)", DecimalDigits = 5, Length = 18, IsNullable = true)] public decimal? UDeci1 { get; set; } [SugarColumn(ColumnDescription = "单位一(Ufld3)", Length = 50, IsNullable = true)] public string? Ufld3 { get; set; } [SugarColumn(ColumnDescription = "自定义字段Ufld4", Length = 200, IsNullable = true)] public string? Ufld4 { get; set; } [SugarColumn(ColumnDescription = "活动二(Ufld5)", Length = 200, IsNullable = true)] public string? Ufld5 { get; set; } [SugarColumn(ColumnDescription = "数量二(UDeci2)", DecimalDigits = 5, Length = 18, IsNullable = true)] public decimal? UDeci2 { get; set; } [SugarColumn(ColumnDescription = "单位二(Ufld6)", Length = 50, IsNullable = true)] public string? Ufld6 { get; set; } [SugarColumn(ColumnDescription = "自定义字段Ufld7", Length = 200, IsNullable = true)] public string? Ufld7 { get; set; } [SugarColumn(ColumnDescription = "活动三(Ufld8)", Length = 200, IsNullable = true)] public string? Ufld8 { get; set; } [SugarColumn(ColumnDescription = "数量三(UDeci3)", DecimalDigits = 5, Length = 18, IsNullable = true)] public decimal? UDeci3 { get; set; } [SugarColumn(ColumnDescription = "单位三(Ufld9)", Length = 50, IsNullable = true)] public string? Ufld9 { get; set; } [SugarColumn(ColumnDescription = "基本批量(UDeci4)", DecimalDigits = 5, Length = 18, IsNullable = true)] public decimal? UDeci4 { get; set; } [SugarColumn(ColumnDescription = "工序委外(UDeci5)", DecimalDigits = 5, Length = 18, IsNullable = true)] public decimal? UDeci5 { get; set; } [SugarColumn(ColumnDescription = "供应商代码(Supp)", Length = 100, IsNullable = true)] public string? SupplierCode { get; set; } [SugarColumn(ColumnDescription = "委外提前期(SetupTime)")] public int OutsourcedLeadTime { get; set; } [SugarColumn(ColumnDescription = "行排序")] public int SortNo { get; set; } [SugarColumn(ColumnDescription = "启用(IsActive)", ColumnDataType = "boolean")] public bool IsEnabled { get; set; } = true; [SugarColumn(ColumnDescription = "是否确认(IsConfirm)", ColumnDataType = "boolean")] public bool IsConfirm { get; set; } [SugarColumn(ColumnDescription = "批注索引(CommentIndex)", IsNullable = true)] public int? CommentIndex { get; set; } [SugarColumn(ColumnDescription = "创建人", Length = 100, IsNullable = true)] public string? CreateUser { get; set; } [SugarColumn(ColumnDescription = "更新人", Length = 100, IsNullable = true)] public string? UpdateUser { get; set; } [SugarColumn(ColumnDescription = "创建时间")] public DateTime CreatedAt { get; set; } = DateTime.Now; [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)] public DateTime? UpdatedAt { get; set; } }