package com.yuchen.saas.flow.api.entity.business;

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.nest.springwrap.core.mp.base.BaseEntity;

import java.util.Date;

/**
 * <p>
 * 表单员工申请设置表
 * </p>
 *
 * @author linyb
 * @since 2024-03-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_flow_from_staff_apply_setting")
@ApiModel(value="SaasFlowFromStaffApplySetting对象", description="表单员工申请设置表")
public class SaasFlowFromStaffApplySetting extends BaseEntity {

    /**
     * 客户id
     */
    @ApiModelProperty(name = "customerId", value = "客户id")
    private Long customerId;
    /**
     * 表单流程标识
     */
    @ApiModelProperty(name = "formFlowCode", value = "表单流程标识")
    private String formFlowCode;
    /**
     * 表单ID
     */
    @ApiModelProperty(name = "flowProcessId", value = "表单ID")
    private Long flowProcessId;
    /**
     * 表单名称
     */
    @ApiModelProperty(name = "formName", value = "表单名称")
    private String formName;
    private Long groupInfoId;

    @ApiModelProperty(name = "stopFlag", value = "true 开启审批流 false 停用审批流")
    private Boolean stopFlag;
    /**
     * 所属业务
     */
    @ApiModelProperty(name = "belongBusiness", value = "所属业务")
    private Long belongBusiness;
    /**
     * 可见类型（1：全员可见。2：指定部门可见。3：指定人员可见）
     */
    @ApiModelProperty(name = "visibilityType", value = "可见类型（1：全员可见。2：指定部门可见。3：指定人员可见）")
    private String visibilityType;
    /**
     * 最后操作人（组织用户id）
     */
    @ApiModelProperty(name = "lastOperator", value = "最后操作人（组织用户id）")
    private Long lastOperator;

    @ApiModelProperty(name = "lastOperatorName", value = "最后操作人（中文）")
    private String lastOperatorName;
    /**
     * 最后操作时间
     */
    @ApiModelProperty(name = "lastOperatorTime", value = "最后操作时间")
    private Date lastOperatorTime;

}
