using System; using System.Collections.Generic; using System.Linq; using SqlSugar; namespace DoAn.SugarModels { /// /// 总成主数据表 /// [SugarTable("res_seres_assembly_part")] public class ResGeelyAssemblyPart { /// /// /// [SugarColumn(ColumnName="id" ,IsPrimaryKey = true ,IsIdentity = true )] public int Id { get; set; } /// /// prod_assembly_project项目id /// [SugarColumn(ColumnName="project_id" )] public int ProjectId { get; set; } /// /// 客户物料名称 /// 默认值: /// [SugarColumn(ColumnName="name" )] public string Name { get; set; } /// /// 颜色 /// [SugarColumn(ColumnName="color" )] public string Color { get; set; } /// /// 客户物料号 /// 默认值: /// [SugarColumn(ColumnName="part_no" ,IsIgnore =false )] public string PartNo { get; set; } /// /// 内部物料号 /// 默认值: /// [SugarColumn(ColumnName="erp_part_no" )] public string ErpPartNo { get; set; } /// /// 创建时间 /// 默认值: CURRENT_TIMESTAMP /// [SugarColumn(ColumnName="create_time" )] public DateTime CreateTime { get; set; } /// /// 更新时间 /// 默认值: CURRENT_TIMESTAMP /// [SugarColumn(ColumnName="update_time" )] public DateTime UpdateTime { get; set; } /// /// 自定义测试结果1 /// [SugarColumn(ColumnName="undefine_value1" )] public string UndefineValue1 { get; set; } /// /// 自定义测试结果2 /// [SugarColumn(ColumnName="undefine_value2" )] public string UndefineValue2 { get; set; } /// /// 自定义测试结果3 /// [SugarColumn(ColumnName="undefine_value3" )] public string UndefineValue3 { get; set; } /// /// 自定义测试结果4 /// [SugarColumn(ColumnName="undefine_value4" )] public string UndefineValue4 { get; set; } /// /// 自定义测试结果5 /// [SugarColumn(ColumnName="undefine_value5" )] public string UndefineValue5 { get; set; } /// /// 拓展json [{'name':'名称','value':'值'},{'name':'名称','value':'值'}] /// [SugarColumn(ColumnName="extend_config" )] public string ExtendConfig { get; set; } /// /// /// [SugarColumn(ColumnName="handle" )] public string Handle { get; set; } /// /// 功能配置 /// [SugarColumn(ColumnName="description" )] public string Description { get; set; } } }