This commit is contained in:
2024-10-10 21:53:20 +08:00
parent b7c9e333d4
commit a4807ac434
4 changed files with 23 additions and 0 deletions

View File

@@ -13,6 +13,18 @@ import java.util.*;
@Embeddable
public class TzDevicePartVo {
@Comment("配套附件名称")
private String partName;
@Comment("安装地点")
private String installationLocation;
@Comment("使用参数")
private String useParameter;
@Comment("标牌号")
private String nameplateNumber;
@Comment("配套附件型号")
private String partModel;
@@ -45,4 +57,7 @@ public class TzDevicePartVo {
@Comment("使用单位")
private String usingUnit;
@Comment("制造单位")
private String manufacturingUnit;
}

View File

@@ -11,6 +11,8 @@ import java.time.LocalDateTime;
@Data
public class CreateTzDeviceMaintenanceRecordDto extends OrgCommonDto {
private String tzDevice;
@Comment("检维修时间")
private LocalDateTime maintenanceDate;

View File

@@ -11,6 +11,7 @@ import java.time.LocalDateTime;
@Data
public class UpdateTzDeviceMaintenanceRecordDto extends OrgCommonDto {
private String tzDevice;
@Comment("检维修时间")
private LocalDateTime maintenanceDate;

View File

@@ -1,8 +1,10 @@
package cn.lihongjie.coal.tzDeviceMaintenanceRecord.entity;
import cn.lihongjie.coal.base.entity.OrgCommonEntity;
import cn.lihongjie.coal.tzDevice.entity.TzDeviceEntity;
import jakarta.persistence.Entity;
import jakarta.persistence.ManyToOne;
import jakarta.persistence.Table;
import lombok.Data;
@@ -24,6 +26,9 @@ public class TzDeviceMaintenanceRecordEntity extends OrgCommonEntity {
@ColumnDefault("'0'")
private String archiveStatus = "0";
@ManyToOne
private TzDeviceEntity tzDevice;
@Comment("检维修时间")
private LocalDateTime maintenanceDate;