package com.yeejoin.amos.boot.module.jxiop.api.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yeejoin.amos.boot.biz.common.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.util.Date;

/**
 * 人员基本信息
 *
 * @author system_generator
 * @date 2023-04-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("person_account")
public class PersonAccount extends BaseEntity {

    private static final long serialVersionUID = 1L;


    /**
     * 平台user_id
     */
	@TableField("user_id")
    private Long userId;

    /**
     * 平台账号名称
     */
	@TableField("account_name")
    private String accountName;

    /**
     * 用户角色
     */
	@TableField("roles")
    private String roles;


    /**
     * 人员信息id
     */
    @TableField("person_id")
    private Long personId;


    /**
     * 应用
     */
    @TableField("application")
    private String application;

    @TableField("password")
    private String  password;
    @TableField("secondary_password")
    private String  secondaryPassword;


    /**
     * 生产用户类型
     */
	@TableField("sc_user_type")
    private String scUserType;

    /**
     * 生产用户分类
     */
	@TableField("sc_user_category")
    private String scUserCategory;





}
