package com.zcloud.modules.custormerInfo.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Author wangyitao
 * @Desc 企业用户关联表(BusCustomerUser)实体
 * @Date 2024-06-19 16:59:10
 */
@Data
@TableName("bus_customer_user")
public class BusCustomerUserEntity implements Serializable {
    private static final long serialVersionUID = -17630059142585214L;
    @TableId(type = IdType.ASSIGN_UUID)
    private String customerUserId;
    //企业id
    @ApiModelProperty(value = "企业id")
    private String customerinfoId;
    //用户id
    @ApiModelProperty(value = "用户id")
    private String userId;
    //是否删除
    @ApiModelProperty(value = "是否删除")
    @TableField(fill = FieldFill.INSERT)
    private Integer isDelete;
    //添加人
    @ApiModelProperty(value = "添加人")
    private String creator;
    //添加时间
    @ApiModelProperty(value = "添加时间")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    //修改人
    @ApiModelProperty(value = "修改人")
    private String operator;
    //修改时间
    @ApiModelProperty(value = "修改时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String operatTime;

    @ApiModelProperty(value = "企业名称")
    @TableField(exist = false)
    private String corpinfoName;

    @ApiModelProperty("是否主账号")
    private Boolean isAdmin;

}

