package com.yuchen.saas.manage.system.api.entity;

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.tenant.mp.TenantEntity;

import java.util.Date;

/**
 * <p>
 * 组织变更创建人身份表
 * </p>
 *
 * @author cxj
 * @since 2023-09-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("nest_dept_replace")
@ApiModel(value="NestDeptReplace对象", description="组织变更创建人身份表")
public class NestDeptReplace extends TenantEntity {

    /**
     * 组织id
     */
    @ApiModelProperty(name = "deptId", value = "组织id")
    private Long deptId;


    @ApiModelProperty(name = "roleBindingId", value = "列表上的id")
    private Long roleBindingId;
    /**
     * 原组织创建者
     */
    @ApiModelProperty(name = "oldCreateUserId", value = "原组织创建者")
    private Long oldCreateUserId;
    /**
     * 原组织创建手机号
     */
    @ApiModelProperty(name = "oldCreatePhone", value = "原组织创建手机号")
    private Long oldCreatePhone;
    /**
     * 新组织创建者
     */
    @ApiModelProperty(name = "newCreateUserId", value = "新组织创建者")
    private Long newCreateUserId;
    /**
     * 新组织创建手机号
     */
    @ApiModelProperty(name = "newCreatePhone", value = "新组织创建手机号")
    private Long newCreatePhone;
    /**
     * 理由
     */
    @ApiModelProperty(name = "reason", value = "理由")
    private String reason;
    /**
     * 营业执照
     */
    @ApiModelProperty(name = "businessFile", value = "营业执照")
    private String businessFile;
    /**
     * 企业授权函
     */
    @ApiModelProperty(name = "authFile", value = "企业授权函")
    private String authFile;
    /**
     * 手持身份证照片
     */
    @ApiModelProperty(name = "idCardFile", value = "手持身份证照片")
    private String idCardFile;
    /**
     * 审核状态（0 待审核 1 进行中 2 已完成 3 已撤回 4 已拒绝））
     */
    @ApiModelProperty(name = "reviewState", value = "审核状态（0 待审核 1 进行中 2 已完成 3 已撤回 4 已拒绝）")
    private Integer reviewState;
    /**
     * 审核时间
     */
    @ApiModelProperty(name = "reviewTime", value = "审核时间")
    private Date reviewTime;



}
