package com.chinaweal.aiccs.aiccs.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Lee
 * @since 2021-10-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("deadlinestas")
public class DeadlineStas extends Model<DeadlineStas> {

    private static final long serialVersionUID=1L;

    /**
     * 主键id
     */
    @TableId(value = "deadlineId",type = IdType.ASSIGN_UUID)
    private String deadlineId;

    /**
     * 流程主键
     */
    @TableField("workFlowId")
    private String workFlowId;

    /**
     * 经办人剩余工作日
     */
    @TableField("acceptLeftDays")
    private String acceptLeftDays;

    /**
     * 经办起算日期
     */
    @TableField("acceptStartDate")
    private LocalDate acceptStartDate;

    /**
     * 审核人剩余工作日
     */
    @TableField("handleLeftDays")
    private String handleLeftDays;

    /**
     * 审核起算日期
     */
    @TableField("handleStartDate")
    private LocalDate handleStartDate;

    /**
     * 审批人剩余工作日
     */
    @TableField("approveLeftDays")
    private String approveLeftDays;

    /**
     * 审批起算日期
     */
    @TableField("approveStartDate")
    private LocalDate approveStartDate;


    @Override
    protected Serializable pkVal() {
        return this.deadlineId;
    }

}
