| | |
| | | public int Id { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 调度表主键 |
| | | /// </summary> |
| | | [SugarColumn(IsNullable = true, ColumnDescription = "调度表主键")] |
| | | public int? DispatchId { get; set; } |
| | | |
| | | /// <summary> |
| | | /// 设备编号 |
| | | /// </summary> |
| | | [ImporterHeader(Name = "设备编号")] |
| | |
| | | /// </summary> |
| | | [ImporterHeader(Name = "PLC类型")] |
| | | [ExporterHeader(DisplayName = "PLC类型")] |
| | | [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "PLC类型")] |
| | | [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "PLC类型")] |
| | | public string DevicePlcType { get; set; } |
| | | |
| | | /// <summary> |
| | |
| | | [SugarColumn(Length = 200, IsNullable = true, ColumnDescription = "备注")] |
| | | public string DeviceRemark { get; set; } |
| | | |
| | | [ImporterHeader(IsIgnore =true)] |
| | | /// <summary> |
| | | /// 设备协议集合 |
| | | /// </summary> |
| | | [ImporterHeader(IsIgnore = true)] |
| | | [ExporterHeader(IsIgnore = true)] |
| | | [Navigate(NavigateType.OneToMany, nameof(Dt_DeviceProtocol.DeviceId), nameof(Id)), SugarColumn(IsIgnore = true, IsNullable = true)] |
| | | public List<Dt_DeviceProtocol> ProtocolList { get; set; } |