package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
|
import java.util.Date;
|
|
/**
|
* APP用户
|
* @author pzb
|
* @Date 2021/12/1 12:03
|
*/
|
@Data
|
@TableName("t_app_user")
|
public class AppUser {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 编号
|
*/
|
@TableField("code")
|
private String code;
|
/**
|
* 头像
|
*/
|
@TableField("profile_photo")
|
private String profilePhoto;
|
/**
|
* 昵称
|
*/
|
@TableField("nickname")
|
private String nickname;
|
/**
|
* 用户类型(1=普通,2=房东,3=中介)
|
*/
|
@TableField("user_type")
|
private Integer userType;
|
/**
|
* 手机号
|
*/
|
@TableField("phone")
|
private String phone;
|
/**
|
* 微信openid
|
*/
|
@TableField("wechat_openid")
|
private String wechatOpenid;
|
/**
|
* 微信二维码
|
*/
|
@TableField("wechat_qr_code")
|
private String wechatQRCode;
|
/**
|
* WhatApp
|
*/
|
@TableField("watch_app")
|
private String watchApp;
|
/**
|
* 代理人牌照号
|
*/
|
@TableField("agent_licence_code")
|
private String agentLicenceCode;
|
/**
|
* 公司名称
|
*/
|
@TableField("company_name")
|
private String companyName;
|
/**
|
* 公司地址
|
*/
|
@TableField("company_address")
|
private String companyAddress;
|
/**
|
* 名片照
|
*/
|
@TableField("business_card_photo")
|
private String businessCardPhoto;
|
/**
|
* 审核状态(1=待审核,2=审核通过,3=审核拒绝)
|
*/
|
@TableField("audit_status")
|
private Integer auditStatus;
|
/**
|
* 审核注释
|
*/
|
@TableField("audit_note")
|
private String auditNote;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
@TableField("status")
|
private Integer status;
|
/**
|
* 注册时间
|
*/
|
@TableField("insert_time")
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date insertTime;
|
/**
|
* 中介的个人简介
|
*/
|
@TableField("introduce")
|
private String introduce;
|
/**
|
* 中介所在公司所在的市
|
*/
|
@TableField("city_id")
|
private Integer cityId;
|
/**
|
* 中介所在公司所在的区
|
*/
|
@TableField("district_id")
|
private Integer districtId;
|
}
|