package com.qianwen.mdc.dto;
|
|
import java.util.Date;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
/**
|
* 设备保养分页查询入参dto
|
*/
|
public class MachineMaintainQueryDTO extends BasePageDTO{
|
|
/**
|
* 统一编号
|
*/
|
private String sn;
|
|
/*
|
* 保养类型,1:日常保养;2:一级保养;3:二级保养;4:三级保养
|
*/
|
private Integer style;
|
/**
|
* 设备id
|
*/
|
private Integer machineId;
|
/**
|
* 设备型号,文本
|
*/
|
private String type;
|
/**
|
* 是否合格
|
*/
|
private Boolean isQualified;
|
/**
|
* TODO 计划状态,1开始,目前未使用,暂时注释,可能是状态的进度
|
*/
|
//private String status;
|
/**
|
* 保养内容和问题,详细说明文本
|
*/
|
private String detail;
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date startDateFrom;
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date startDateTo;
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date completeDateFrom;
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
private Date completeDateTo;
|
/**
|
* 保养者id
|
*/
|
private Integer userId;
|
|
/**
|
* 使用单位(文字):工艺/编制/生产
|
*/
|
private String department;
|
|
public String getSn() {
|
return sn;
|
}
|
public void setSn(String sn) {
|
this.sn = sn;
|
}
|
public Integer getStyle() {
|
return style;
|
}
|
public void setStyle(Integer style) {
|
this.style = style;
|
}
|
public Integer getMachineId() {
|
return machineId;
|
}
|
public void setMachineId(Integer machineId) {
|
this.machineId = machineId;
|
}
|
public String getType() {
|
return type;
|
}
|
public void setType(String type) {
|
this.type = type;
|
}
|
public Boolean getIsQualified() {
|
return isQualified;
|
}
|
public void setIsQualified(Boolean isQualified) {
|
this.isQualified = isQualified;
|
}
|
public String getDetail() {
|
return detail;
|
}
|
public void setDetail(String detail) {
|
this.detail = detail;
|
}
|
public Date getStartDateFrom() {
|
return startDateFrom;
|
}
|
public void setStartDateFrom(Date startDateFrom) {
|
this.startDateFrom = startDateFrom;
|
}
|
public Date getStartDateTo() {
|
return startDateTo;
|
}
|
public void setStartDateTo(Date startDateTo) {
|
this.startDateTo = startDateTo;
|
}
|
public Date getCompleteDateFrom() {
|
return completeDateFrom;
|
}
|
public void setCompleteDateFrom(Date completeDateFrom) {
|
this.completeDateFrom = completeDateFrom;
|
}
|
public Date getCompleteDateTo() {
|
return completeDateTo;
|
}
|
public void setCompleteDateTo(Date completeDateTo) {
|
this.completeDateTo = completeDateTo;
|
}
|
public Integer getUserId() {
|
return userId;
|
}
|
public void setUserId(Integer userId) {
|
this.userId = userId;
|
}
|
public String getDepartment() {
|
return department;
|
}
|
public void setDepartment(String department) {
|
this.department = department;
|
}
|
|
|
}
|