namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing; /// /// 标准工序主数据(复刻 StdOpMaster)。 /// [SugarTable("StdOpMaster", "标准工序主数据表")] [SugarIndex("uk_StdOpMaster_scope_name", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(StdOp), OrderByType.Asc, IsUnique = true)] public class AdoS0StdOpMaster { [SugarColumn(ColumnName = "id", ColumnDescription = "标准工序主键", IsPrimaryKey = true, IsIdentity = true, ColumnDataType = "bigint")] public long Id { get; set; } [SugarColumn(ColumnName = "company_ref_id", ColumnDescription = "关联公司 ID", ColumnDataType = "bigint")] public long CompanyRefId { get; set; } [SugarColumn(ColumnName = "factory_ref_id", ColumnDescription = "关联工厂 ID", ColumnDataType = "bigint")] public long FactoryRefId { get; set; } [SugarColumn(ColumnName = "domain", ColumnDescription = "工厂域编码", Length = 50)] public string Domain { get; set; } = string.Empty; [SugarColumn(ColumnName = "std_op", ColumnDescription = "标准工序名称", Length = 100)] public string StdOp { get; set; } = string.Empty; [SugarColumn(ColumnName = "milestone_op", ColumnDescription = "是否关键工序", Length = 20, IsNullable = true)] public string? MilestoneOp { get; set; } [SugarColumn(ColumnName = "create_user", ColumnDescription = "创建人", Length = 64, IsNullable = true)] public string? CreateUser { get; set; } [SugarColumn(ColumnName = "create_time", ColumnDescription = "创建时间", IsNullable = true)] public DateTime? CreateTime { get; set; } [SugarColumn(ColumnName = "update_user", ColumnDescription = "更新人", Length = 64, IsNullable = true)] public string? UpdateUser { get; set; } [SugarColumn(ColumnName = "update_time", ColumnDescription = "更新时间", IsNullable = true)] public DateTime? UpdateTime { get; set; } }