package com.ruoyi.system.api.todo.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Author: sqz
 * @Date: 2025/03/24/16:12
 * @Description:
 */
@Data
public class TodoHistory {

    /**
     *
     */
    @NotNull(message = "[]不能为空")
    private Long id;
    /**
     * 业务id
     */
    private Long businessId;
    /**
     * 排序
     */
    private Integer sortIndex;
    /**
     * 业务环节
     */
    @NotNull(message = "[业务环节]不能为空")
    private Integer businessProcess;
    /**
     * 作业下发时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date deliverTime;
    /**
     * 乐观锁
     */
    private Integer revision;
    /**
     * 创建人
     */
    private Long createdBy;
    /**
     * 创建时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date createdTime;
    /**
     * 更新人
     */
    private Long updatedBy;
    /**
     * 更新时间
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    private Date updatedTime;
    /**
     * 删除标记
     */
    private Integer isDeleted;
}
