package com.example.erp.entity.pp; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import java.time.LocalDate; import java.time.LocalDateTime; @Data public class DeviceMaintenance { //自增id private Integer id; //设备编号 private String deviceId; //设备名称 private String deviceName; //类型 private String type; //故障日期 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private LocalDateTime faultTime; //故障原因 private String faultReason; //保养日期 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private LocalDateTime maintenanceTime; //保养说明 private String maintenanceIllustrate; //维修/保养开始时间 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private LocalDateTime startTime; //维修/保养结束时间 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") private LocalDateTime stopTime; //所在工序 private String process; //维修/保养人员 private String personnel; //费用 private String cost; //创建时间 private LocalDateTime createTime; //修改时间 private LocalDateTime updateTime; //外键设备表 private Device device; }