mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 15:55:18 +08:00
完善
This commit is contained in:
@@ -18,6 +18,9 @@ import java.util.List;
|
||||
@Data
|
||||
public class CreateTzDeviceDto extends OrgCommonDto {
|
||||
|
||||
@Comment("单位设备编号")
|
||||
private String unitEquipmentNumber;
|
||||
|
||||
@Comment("设计单位")
|
||||
private String designUnit;
|
||||
|
||||
|
||||
@@ -17,11 +17,14 @@ import java.util.List;
|
||||
|
||||
@Data
|
||||
public class TzDeviceDto extends OrgCommonDto {
|
||||
|
||||
private String archiveStatus;
|
||||
|
||||
@DictTranslate(dictKey = DictCode.ARCHIVESTATUS)
|
||||
private String archiveStatusName;
|
||||
|
||||
@Comment("单位设备编号")
|
||||
private String unitEquipmentNumber;
|
||||
|
||||
@Comment("设计单位")
|
||||
private TzDeviceSupplierDto designUnit;
|
||||
|
||||
@@ -18,6 +18,9 @@ import java.util.List;
|
||||
@Data
|
||||
public class UpdateTzDeviceDto extends OrgCommonDto {
|
||||
|
||||
@Comment("单位设备编号")
|
||||
private String unitEquipmentNumber;
|
||||
|
||||
@Comment("设计单位")
|
||||
private String designUnit;
|
||||
|
||||
|
||||
@@ -31,6 +31,9 @@ public class TzDeviceEntity extends OrgCommonEntity {
|
||||
// @Comment("设备编号")
|
||||
// private String equipmentNumber;
|
||||
|
||||
@Comment("单位设备编号")
|
||||
private String unitEquipmentNumber;
|
||||
|
||||
@Comment("设计单位")
|
||||
@ManyToOne
|
||||
private TzDeviceSupplierEntity designUnit;
|
||||
|
||||
Reference in New Issue
Block a user