mirror of
https://codeup.aliyun.com/64f7d6b8ce01efaafef1e678/coal/coal.git
synced 2026-01-25 07:46:40 +08:00
完善
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -11,6 +11,8 @@ import java.time.LocalDateTime;
|
||||
@Data
|
||||
public class CreateTzDeviceMaintenanceRecordDto extends OrgCommonDto {
|
||||
|
||||
private String tzDevice;
|
||||
|
||||
@Comment("检维修时间")
|
||||
private LocalDateTime maintenanceDate;
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ import java.time.LocalDateTime;
|
||||
@Data
|
||||
public class UpdateTzDeviceMaintenanceRecordDto extends OrgCommonDto {
|
||||
|
||||
private String tzDevice;
|
||||
@Comment("检维修时间")
|
||||
private LocalDateTime maintenanceDate;
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user