package cn.pluss.platform.vo;

import lombok.Data;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@Accessors(chain = true)
public class BusinessInfoVo {

    private Integer userId;

    /**
     * 来自表user_info
     */
    @NotNull(message = "登录账号不能为空")
    private String loginName;

    /**
     * 来自user_info
     */
    @NotNull(message = "手机号不能为空")
    private String phone;
    /**
     * 来自表 user_app
     */
    private String userName;

    /**
     * 状态：1是有效，0是无效，-1是删除
     */
    private Integer status;

    /** 密码*/
    private String password;

    private Date createTime;

    private Date updateTime;

    private String userType;
    /**
     * 归属超级代理商名称
     */
    private String agentName;
    /**
     * 归属超级代理商ID
     */
    private Integer agentId;

}
