package com.shkj.wms.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;

@Data
@NoArgsConstructor
@Accessors(chain = true)
public class BusinTaskDetailAddBo implements Serializable {


    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    @NotBlank(message = "任务编号不得为空")
    private String taskCode;


    /** 执行状态 */
    private String isState;

    /**开始点位 */
    private String startLoaction;

    /**结束点位 */
    private String endLocation;


    /** 执行设备*/
    private String execDev;

    /** 开始执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date startExectime;

    /** 结束执行时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date endExectime;

    /** 执行信息 */
    private String execMsg;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}
