package com.stylefeng.guns.modular.shunfeng.model;
|
|
import java.io.Serializable;
|
|
import com.baomidou.mybatisplus.enums.IdType;
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 用户和司机申请表
|
* </p>
|
*
|
* @author wumeng123
|
* @since 2020-04-22
|
*/
|
@TableName("app_user_apply")
|
public class UserApply extends Model<UserApply> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* ID
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 用户id或者司机id
|
*/
|
private Integer userId;
|
/**
|
* 申请时间
|
*/
|
private Date applyTime;
|
/**
|
* 1用户,2司机
|
*/
|
private Integer type;
|
/**
|
* 1等待审核,2审核通过,3不通过
|
*/
|
private Integer applyState;
|
/**
|
* 1用户申请推广大使,2用户申请顺风车推广大使,3发布顺风车行程实名认证
|
*/
|
private Integer applyType;
|
/**
|
* 真实姓名
|
*/
|
private String name;
|
/**
|
* 身份证
|
*/
|
private String identity;
|
/**
|
* 头像
|
*/
|
private String headImg;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Integer userId) {
|
this.userId = userId;
|
}
|
|
public Date getApplyTime() {
|
return applyTime;
|
}
|
|
public void setApplyTime(Date applyTime) {
|
this.applyTime = applyTime;
|
}
|
|
public Integer getType() {
|
return type;
|
}
|
|
public void setType(Integer type) {
|
this.type = type;
|
}
|
|
public Integer getApplyState() {
|
return applyState;
|
}
|
|
public void setApplyState(Integer applyState) {
|
this.applyState = applyState;
|
}
|
|
public Integer getApplyType() {
|
return applyType;
|
}
|
|
public void setApplyType(Integer applyType) {
|
this.applyType = applyType;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getIdentity() {
|
return identity;
|
}
|
|
public void setIdentity(String identity) {
|
this.identity = identity;
|
}
|
|
public String getHeadImg() {
|
return headImg;
|
}
|
|
public void setHeadImg(String headImg) {
|
this.headImg = headImg;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "UserApply{" +
|
"id=" + id +
|
", userId=" + userId +
|
", applyTime=" + applyTime +
|
", type=" + type +
|
", applyState=" + applyState +
|
", applyType=" + applyType +
|
", name=" + name +
|
", identity=" + identity +
|
", headImg=" + headImg +
|
"}";
|
}
|
}
|