package cn.superdesk.uniorder.dao.entity.sys;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description:
 * @Author: linjinyu
 * @CreateDate: 2022-02-10 10:30:36
 * @UpdateUser: linjinyu
 * @UpdateDate: 2022-02-10 10:30:36
 * @UpdateRemark: 修改内容
 * @Version: 1.0
 */
@Data
@ToString
public class SysUser implements Serializable {

    @ApiModelProperty(value = "")
    private Long id;

    @ApiModelProperty(value = "")
    private String userName;

    @ApiModelProperty(value = "")
    private String userPassword;

    @ApiModelProperty(value = "")
    private String fullname;

    @ApiModelProperty(value = "")
    private String phone;

    @ApiModelProperty(value = "")
    private Long roleId;

    /**
     * 数据权限 - 数据(描述打管理企业的数据)
     */
    @ApiModelProperty(value = "数据权限 - 数据(描述打管理企业的数据)")
    private Long sysRoleExtDataId;

    /**
     * 数据权限角色 来源:1-system;2-superdesk-app;3-superdesk-mall;
     */
    @ApiModelProperty(value = "数据权限角色 来源:1-system;2-superdesk-app;3-superdesk-mall; ")
    private String sourceFrom;

    /**
     * 引用id,没有统一定义
     */
    @ApiModelProperty(value = "引用id,没有统一定义")
    private Long sourceFromQuoteId;

    /**
     * 个性化 logo
     */
    @ApiModelProperty(value = "个性化 logo")
    private String personalizedLogo;

    /**
     * 个性化 小标题
     */
    @ApiModelProperty(value = "个性化 小标题")
    private String personalizedSubhead;

    @ApiModelProperty(value = "")
    private Date createTime;

    @ApiModelProperty(value = "")
    private Long createUserId;

    @ApiModelProperty(value = "")
    private Date updateTime;

    @ApiModelProperty(value = "")
    private Long updateUserId;

    /**
     * 软删除:0-未删除;1-已删除
     */
    @ApiModelProperty(value = "软删除:0-未删除;1-已删除")
    private Integer deleted;

    /**
     * 是否启用:1-启用;0-禁用;
     */
    @ApiModelProperty(value = "是否启用:1-启用;0-禁用;")
    private Integer enabled;

    private static final long serialVersionUID = 1L;
}
