| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- namespace Admin.NET.Plugin.AiDOP.Entity.S0.Manufacturing;
- /// <summary>
- /// 生产线主数据(复刻 LineMaster)。
- /// </summary>
- [SugarTable("LineMaster", "生产线主数据表")]
- [SugarIndex("uk_LineMaster_scope_line", nameof(CompanyRefId), OrderByType.Asc, nameof(FactoryRefId), OrderByType.Asc, nameof(Line), OrderByType.Asc, IsUnique = true)]
- public class AdoS0LineMaster
- {
- [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 = "line", ColumnDescription = "生产线编码", Length = 100)]
- public string Line { get; set; } = string.Empty;
- [SugarColumn(ColumnName = "line_describe", ColumnDescription = "生产线描述", Length = 255, IsNullable = true)]
- public string? Describe { get; set; }
- [SugarColumn(ColumnName = "line_type", ColumnDescription = "产线类型", Length = 50, IsNullable = true)]
- public string? LineType { get; set; }
- [SugarColumn(ColumnName = "line_category", ColumnDescription = "产线类别", Length = 50, IsNullable = true)]
- public string? LineCategory { get; set; }
- [SugarColumn(ColumnName = "location", ColumnDescription = "主库位", Length = 50, IsNullable = true)]
- public string? Location { get; set; }
- [SugarColumn(ColumnName = "workshop", ColumnDescription = "车间编码", Length = 50, IsNullable = true)]
- public string? Workshop { get; set; }
- [SugarColumn(ColumnName = "v_location", ColumnDescription = "虚拟库位", Length = 50, IsNullable = true)]
- public string? VLocation { get; set; }
- [SugarColumn(ColumnName = "location2", ColumnDescription = "辅助库位2", Length = 50, IsNullable = true)]
- public string? Location2 { get; set; }
- [SugarColumn(ColumnName = "location3", ColumnDescription = "辅助库位3", Length = 50, IsNullable = true)]
- public string? Location3 { get; set; }
- [SugarColumn(ColumnName = "picking_location", ColumnDescription = "拣料库位", Length = 50, IsNullable = true)]
- public string? PickingLocation { get; set; }
- [SugarColumn(ColumnName = "mid_location", ColumnDescription = "中间库位", Length = 50, IsNullable = true)]
- public string? MidLocation { get; set; }
- [SugarColumn(ColumnName = "is_active", ColumnDescription = "是否启用", ColumnDataType = "boolean")]
- public bool IsActive { get; set; } = true;
- [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; }
- }
|