package com.pine.admin.shiro;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.pine.admin.modules.system.entity.SysPermission;
import lombok.*;

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

/**
 * @Author: Pine
 * @Date: 2019/4/6
 * @Email:771190883@qq.com
 */
@Data
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
@AllArgsConstructor
@NoArgsConstructor
public class ShiroUserInfo implements Serializable {

    /**
     * 用户姓名
     */
    private String name;
    /**
     * 用户账号
     */
    private String account;
    /**
     * 用户类型
     */
    private String roleType;
    /**
     * 头像
     */
    private String userIcon;
    /**
     * openid
     */
    private String openid;
    //经销商ERP号
    private Long erp;

    private Long dealerID;

    private Date createTime;

    private String password;
}

