package cn.com.ctop.reimburse.mondule.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.util.Date;

/**
 * 报销申请提交表
 *
 * @author jeecg-boot
 * @version V1.0
 * @date 2022-11-21
 */
@Data
@TableName("ctop_reimburse_apply_process")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "ctop_reimburse_apply_process对象", description = "报销申请流程表")
public class ReimburseApplyProcess {

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Long id;
    /**
     * 报销申请ID
     */
    @Excel(name = "报销申请ID", width = 15)
    @ApiModelProperty(value = "报销申请ID")
    private Long applyId;
    /**
     * 流程人员ID
     */
    @Excel(name = "流程人员ID", width = 15)
    @ApiModelProperty(value = "流程人员ID")
    private String userId;
    /**
     * 流程顺序
     */
    @Excel(name = "流程顺序", width = 15)
    @ApiModelProperty(value = "流程顺序")
    private Integer orders;
    /**
     * 审核状态
     */
    @Excel(name = "审核状态：0-创建，1-通过，2-拒绝，3-待审核，4-未审核，5-修改", width = 15)
    @ApiModelProperty(value = "审核状态：0-创建，1-通过，2-拒绝，3-待审核，4-未审核，5-修改")
    private String state;

    /**
     * 操作时间
     */
    @Excel(name = "操作时间", width = 15)
    @ApiModelProperty(value = "操作时间")
    private String statTime;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    private Date updateTime;

    public ReimburseApplyProcess() {
    }

    public ReimburseApplyProcess(Long applyId, String userId, String state, Integer orders, String statTime) {
        this.setApplyId(applyId);
        this.setUserId(userId);
        this.setState(state);
        this.setOrders(orders);
        this.setStatTime(statTime);
    }
}
