namespace MDM.Model.Plant { /// /// 工站/资源组 /// [SugarTable("plant_workstation")] public class PlantWorkstation { /// /// 工站id /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "workstation_id")] public int WorkstationId { get; set; } /// /// 工厂code /// [SugarColumn(ColumnName = "fk_factory_site_code")] public string FkFactorySiteCode { get; set; } /// /// 车间code /// [SugarColumn(ColumnName = "fk_workshop_code")] public string FkWorkshopCode { get; set; } /// /// 生产线体code /// [SugarColumn(ColumnName = "fk_productlinebody")] public string FkProductlinebody { get; set; } /// /// 工站code /// [SugarColumn(IsPrimaryKey = true, IsIdentity = false, ColumnName = "workstation_code")] public string WorkstationCode { get; set; } /// /// 工站name /// [SugarColumn(ColumnName = "workstation_name")] public string WorkstationName { get; set; } /// /// 工站类别 /// [SugarColumn(ColumnName = "workstaion_type")] public string WorkstaionType { get; set; } /// ///PLC地址 /// [SugarColumn(ColumnName = "plc_address")] public string PlcAddress { get; set; } /// /// 描述 /// public string Description { get; set; } /// /// 功能组编码,相同值的工站为相同功能,可互换 /// [SugarColumn(ColumnName = "function_group_code")] public string FunctionGroupCode { get; set; } /// /// 功能组名称,如焊接组、装配组 /// [SugarColumn(ColumnName = "function_group_name")] public string FunctionGroupName { get; set; } /// /// 是否可替换:1=可替换,0=不可替换 /// [SugarColumn(ColumnName = "is_replaceable")] public int? IsReplaceable { get; set; } /// /// 创建人 /// [SugarColumn(ColumnName = "cREATED_BY")] public string CreatedBy { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnName = "cREATED_TIME")] public DateTime? CreatedTime { get; set; } /// /// 更新人 /// [SugarColumn(ColumnName = "uPDATED_BY")] public string UpdatedBy { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnName = "uPDATED_TIME")] public DateTime? UpdatedTime { get; set; } } }