package com.stylefeng.guns.modular.system.model;
|
|
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 stylefeng
|
* @since 2022-02-19
|
*/
|
@TableName("t_merchant")
|
public class TMerchant extends Model<TMerchant> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 用户类型(1=用户,2=司机)
|
*/
|
private Integer userType;
|
/**
|
* 用户id
|
*/
|
private Integer userId;
|
/**
|
* 商家名称
|
*/
|
private String name;
|
/**
|
* 头像
|
*/
|
private String headImg;
|
/**
|
* 联系人姓名
|
*/
|
private String contactName;
|
/**
|
* 联系人电话
|
*/
|
private String contactPhone;
|
/**
|
* 详细地址
|
*/
|
private String address;
|
/**
|
* 营业执照照片
|
*/
|
private String businessLicense;
|
/**
|
* 审核状态(1=待审核,2=已同意,3=已拒绝)
|
*/
|
private Integer auditStatus;
|
/**
|
* 审核注释
|
*/
|
private String auditNote;
|
/**
|
* 审核时间
|
*/
|
private Date auditTime;
|
/**
|
* 审核用户id
|
*/
|
private Integer auditUserId;
|
/**
|
* 状态(1=正常,2=冻结,3=删除)
|
*/
|
private Integer state;
|
/**
|
* 添加时间
|
*/
|
private Date createTime;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getUserType() {
|
return userType;
|
}
|
|
public void setUserType(Integer userType) {
|
this.userType = userType;
|
}
|
|
public Integer getUserId() {
|
return userId;
|
}
|
|
public void setUserId(Integer userId) {
|
this.userId = userId;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getHeadImg() {
|
return headImg;
|
}
|
|
public void setHeadImg(String headImg) {
|
this.headImg = headImg;
|
}
|
|
public String getContactName() {
|
return contactName;
|
}
|
|
public void setContactName(String contactName) {
|
this.contactName = contactName;
|
}
|
|
public String getContactPhone() {
|
return contactPhone;
|
}
|
|
public void setContactPhone(String contactPhone) {
|
this.contactPhone = contactPhone;
|
}
|
|
public String getAddress() {
|
return address;
|
}
|
|
public void setAddress(String address) {
|
this.address = address;
|
}
|
|
public String getBusinessLicense() {
|
return businessLicense;
|
}
|
|
public void setBusinessLicense(String businessLicense) {
|
this.businessLicense = businessLicense;
|
}
|
|
public Integer getAuditStatus() {
|
return auditStatus;
|
}
|
|
public void setAuditStatus(Integer auditStatus) {
|
this.auditStatus = auditStatus;
|
}
|
|
public String getAuditNote() {
|
return auditNote;
|
}
|
|
public void setAuditNote(String auditNote) {
|
this.auditNote = auditNote;
|
}
|
|
public Date getAuditTime() {
|
return auditTime;
|
}
|
|
public void setAuditTime(Date auditTime) {
|
this.auditTime = auditTime;
|
}
|
|
public Integer getAuditUserId() {
|
return auditUserId;
|
}
|
|
public void setAuditUserId(Integer auditUserId) {
|
this.auditUserId = auditUserId;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TMerchantAudit{" +
|
"id=" + id +
|
", userType=" + userType +
|
", userId=" + userId +
|
", name=" + name +
|
", headImg=" + headImg +
|
", contactName=" + contactName +
|
", contactPhone=" + contactPhone +
|
", address=" + address +
|
", businessLicense=" + businessLicense +
|
", auditStatus=" + auditStatus +
|
", auditNote=" + auditNote +
|
", auditTime=" + auditTime +
|
", auditUserId=" + auditUserId +
|
", state=" + state +
|
", createTime=" + createTime +
|
"}";
|
}
|
}
|