TaskTempDTO.java 1.18 KB
package vion.dto;

import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;
import org.springframework.web.multipart.MultipartFile;

import java.time.LocalDateTime;

@Getter
@Setter
public class TaskTempDTO extends BaseDTO {
    private Long id;
    private Long storeId;
    /**
     * 项目名称
     */
    private String storeName;
    /**
     * 报修日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime 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 LocalDateTime startdate;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime enddate;
}