InspectDTO.java 1.22 KB
package vion.dto;

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

import java.util.Date;

@Getter
@Setter
public class InspectDTO extends BaseDTO {
    /** 自增列 */
    private Long id;
    /** 门店id */
    private Long storeId;

    /** 巡检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date inspectTime;

    /** 巡检方式(0远程、1现场) */
    private Integer type;
    /** 状态(0进行中、1待审核、2已完成、3、驳回) */
    private Integer status;
    /** 巡检人 */
    private Integer inspectUser;
    /** 审核人 */
    private Integer reviewer;

    /** 巡检时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date finishTime;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date auditTime;

    /** 备注 */
    private String remark;
    /** 集团id */
    private Long accountId;

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

}