TaskTempDTO.java 1.27 KB
package vion.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.util.Date;

@Getter
@Setter
public class TaskTempDTO extends BaseDTO {
    private Long id;
    private Long storeId;
    /**
     * 项目名称
     */
    private String storeName;
    /**
     * 报修日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date repairTime;
    /**
     * 故障说明
     */
    private String faultDescription;
    /**
     * 报修人
     */
    private String repairPeople;
    /**
     * 联系方式
     */
    private String repairPhone;
    /**
     * 状态(1待确认、2已确认)
     */
    private Integer status;
    private String remark;
    /**
     * 工程师姓名
     */
    private String engineerName;
    /**
     * 邮箱地址
     */
    private String email;
    private String openid;

    private MultipartFile[] files;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startdate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date enddate;
}