package com.gkhy.safePlatform.specialWork.model.dto.req; import com.fasterxml.jackson.annotation.JsonFormat; import javax.validation.constraints.NotNull; import java.util.Date; public class SpecialWorkAppointmentModReqDTO { @NotNull(message = "主键不可为空") private Long id; // /** // * 预约时间 // */ // @NotNull(message = "预约时间按不可以为空") // @JsonFormat( pattern = "yyyy-MM-dd", timezone = "GMT+8") // private Date appointmentTime; /** * 动火作业 */ @NotNull(message = "动火作业数量不可为空") private Integer hotWork; /** * 动土作业 */ @NotNull(message = "动土作业数量不可为空") private Integer groundBreakingOper; /** * 盲板作业 */ @NotNull(message = "盲板作业数量不可为空") private Integer blindPlatePluggingOper; /** * 临时用电作业 */ @NotNull(message = "临时用电作业数量不可为空") private Integer temporaryPowerOper; /** * 高处作业 */ @NotNull(message = "高处作业数量不可为空") private Integer workAtHeight; /** * 断路作业 */ @NotNull(message = "断路作业数量不可为空") private Integer openCircuitOper; /** * 吊装作业 */ @NotNull(message = "吊装作业数量不可为空") private Integer liftingOper; /** * 受限空间作业 */ @NotNull(message = "受限空间作业数量不可为空") private Integer confinedSpaceOper; public Long getId() { return id; } public void setId(Long id) { this.id = id; } public Integer getHotWork() { return hotWork; } public void setHotWork(Integer hotWork) { this.hotWork = hotWork; } public Integer getGroundBreakingOper() { return groundBreakingOper; } public void setGroundBreakingOper(Integer groundBreakingOper) { this.groundBreakingOper = groundBreakingOper; } public Integer getBlindPlatePluggingOper() { return blindPlatePluggingOper; } public void setBlindPlatePluggingOper(Integer blindPlatePluggingOper) { this.blindPlatePluggingOper = blindPlatePluggingOper; } public Integer getTemporaryPowerOper() { return temporaryPowerOper; } public void setTemporaryPowerOper(Integer temporaryPowerOper) { this.temporaryPowerOper = temporaryPowerOper; } public Integer getWorkAtHeight() { return workAtHeight; } public void setWorkAtHeight(Integer workAtHeight) { this.workAtHeight = workAtHeight; } public Integer getOpenCircuitOper() { return openCircuitOper; } public void setOpenCircuitOper(Integer openCircuitOper) { this.openCircuitOper = openCircuitOper; } public Integer getLiftingOper() { return liftingOper; } public void setLiftingOper(Integer liftingOper) { this.liftingOper = liftingOper; } public Integer getConfinedSpaceOper() { return confinedSpaceOper; } public void setConfinedSpaceOper(Integer confinedSpaceOper) { this.confinedSpaceOper = confinedSpaceOper; } }