package com.javaweb.platform.domain;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
import com.javaweb.common.annotation.Excel;
|
import com.javaweb.common.core.domain.BaseEntity;
|
|
/**
|
* 用户管理对象 js_front_user
|
*
|
* @author zmk
|
* @date 2022-03-21
|
*/
|
public class FrontUser extends BaseEntity
|
{
|
private static final long serialVersionUID = 1L;
|
|
/** 主键 */
|
private Long id;
|
|
/** 登录名字 */
|
@Excel(name = "登录名字")
|
private String userName;
|
|
/** 用户类型(1 普通 2 企业) */
|
@Excel(name = "用户类型", readConverterExp = "1=,普=通,2=,企=业")
|
private String userType;
|
|
/** 邮箱 */
|
@Excel(name = "邮箱")
|
private String email;
|
|
/** 电话 */
|
@Excel(name = "电话")
|
private String phone;
|
|
/** 密码 */
|
@Excel(name = "密码")
|
private String password;
|
|
/** 密码 */
|
@Excel(name = "密码")
|
private String salt;
|
|
/** 状态 (1 正常使用 2 申请中 3 申请失败) */
|
@Excel(name = "状态 ", readConverterExp = "1=正常使用,2=申请中,3=申请失败")
|
private String status;
|
|
/** 是否删除 */
|
@Excel(name = "是否删除")
|
private String isDeleted;
|
|
/** 头像 */
|
@Excel(name = "头像")
|
private String avatar;
|
|
/** 登录IP */
|
@Excel(name = "登录IP")
|
private String loginIp;
|
|
/** 企业地址 */
|
@Excel(name = "企业地址")
|
private String address;
|
|
/** 公司名字 */
|
@Excel(name = "公司名字")
|
private String company;
|
|
/** 待审核附件 */
|
@Excel(name = "待审核附件")
|
private String applyLicense;
|
|
/**
|
* 联系人
|
*/
|
private String contacts;
|
|
/**
|
* 公司的性质
|
*/
|
private String companyProps;
|
|
/**
|
* 验证token
|
*/
|
private String accessToken ;
|
|
/**
|
* 营业执照代码
|
*/
|
private String businessNo;
|
|
|
private String notify;//通知
|
|
|
|
public void setId(Long id)
|
{
|
this.id = id;
|
}
|
|
public Long getId()
|
{
|
return id;
|
}
|
public void setUserName(String userName)
|
{
|
this.userName = userName;
|
}
|
|
public String getUserName()
|
{
|
return userName;
|
}
|
public void setUserType(String userType)
|
{
|
this.userType = userType;
|
}
|
|
public String getUserType()
|
{
|
return userType;
|
}
|
public void setEmail(String email)
|
{
|
this.email = email;
|
}
|
|
public String getEmail()
|
{
|
return email;
|
}
|
public void setPhone(String phone)
|
{
|
this.phone = phone;
|
}
|
|
public String getPhone()
|
{
|
return phone;
|
}
|
public void setPassword(String password)
|
{
|
this.password = password;
|
}
|
|
public String getPassword()
|
{
|
return password;
|
}
|
public void setSalt(String salt)
|
{
|
this.salt = salt;
|
}
|
|
public String getSalt()
|
{
|
return salt;
|
}
|
public void setStatus(String status)
|
{
|
this.status = status;
|
}
|
|
public String getStatus()
|
{
|
return status;
|
}
|
public void setIsDeleted(String isDeleted)
|
{
|
this.isDeleted = isDeleted;
|
}
|
|
public String getIsDeleted()
|
{
|
return isDeleted;
|
}
|
public void setAvatar(String avatar)
|
{
|
this.avatar = avatar;
|
}
|
|
public String getAvatar()
|
{
|
return avatar;
|
}
|
public void setLoginIp(String loginIp)
|
{
|
this.loginIp = loginIp;
|
}
|
|
public String getLoginIp()
|
{
|
return loginIp;
|
}
|
public void setAddress(String address)
|
{
|
this.address = address;
|
}
|
|
public String getAddress()
|
{
|
return address;
|
}
|
public void setCompany(String company)
|
{
|
this.company = company;
|
}
|
|
public String getCompany()
|
{
|
return company;
|
}
|
public void setApplyLicense(String applyLicense)
|
{
|
this.applyLicense = applyLicense;
|
}
|
|
public String getApplyLicense()
|
{
|
return applyLicense;
|
}
|
|
@Override
|
public String toString() {
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
.append("id", getId())
|
.append("userName", getUserName())
|
.append("userType", getUserType())
|
.append("email", getEmail())
|
.append("phone", getPhone())
|
.append("password", getPassword())
|
.append("salt", getSalt())
|
.append("status", getStatus())
|
.append("isDeleted", getIsDeleted())
|
.append("avatar", getAvatar())
|
.append("loginIp", getLoginIp())
|
.append("createTime", getCreateTime())
|
.append("address", getAddress())
|
.append("company", getCompany())
|
.append("applyLicense", getApplyLicense())
|
.toString();
|
}
|
|
public String getContacts() {
|
return contacts;
|
}
|
|
public void setContacts(String contacts) {
|
this.contacts = contacts;
|
}
|
|
public String getCompanyProps() {
|
return companyProps;
|
}
|
|
public void setCompanyProps(String companyProps) {
|
this.companyProps = companyProps;
|
}
|
|
public String getAccessToken() {
|
return accessToken;
|
}
|
|
public void setAccessToken(String accessToken) {
|
this.accessToken = accessToken;
|
}
|
|
public String getBusinessNo() {
|
return businessNo;
|
}
|
|
public void setBusinessNo(String businessNo) {
|
this.businessNo = businessNo;
|
}
|
|
public String getNotify() {
|
return notify;
|
}
|
|
public void setNotify(String notify) {
|
this.notify = notify;
|
}
|
}
|