All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nebula.boxes.mould.entity.FirmStaff Maven / Gradle / Ivy

The newest version!
package com.nebula.boxes.mould.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 企业基础信息
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("firm_staff")
@ApiModel(value="FirmStaff对象", description="企业基础信息")
public class FirmStaff implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "全局唯一键")
    @TableField("uuid")
    private String uuid;

    @ApiModelProperty(value = "企业编号")
    @TableField("firm_id")
    private Long firmId;

    @ApiModelProperty(value = "企业名称")
    @TableField("firm_name")
    private String firmName;

    @ApiModelProperty(value = "专员头像")
    @TableField("avatar")
    private String avatar;

    @TableField("email")
    private String email;

    @ApiModelProperty(value = "手机号")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value = "企业授权用户,同person表里的id关联")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "用户名称")
    @TableField("realname")
    private String realname;

    @ApiModelProperty(value = "性别")
    @TableField("sex")
    private Integer sex;

    @ApiModelProperty(value = "职衔")
    @TableField("title")
    private String title;

    @ApiModelProperty(value = "用户类型 1超级管理 2招聘人员 3 企业认证员工")
    @TableField("type")
    private Integer type;

    @ApiModelProperty(value = "授权审核状态")
    @TableField("audit")
    private Integer audit;

    @ApiModelProperty(value = "1:冻结 2 未冻结")
    @TableField("froze")
    private Integer froze;

    @ApiModelProperty(value = "排序")
    @TableField("sort")
    private Integer sort;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "有效性")
    @TableField("enabled")
    private Integer enabled;


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy