package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.activerecord.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 io.swagger.annotations.ApiModelProperty;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* <p>
|
*
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2022-12-30
|
*/
|
@TableName("t_user_address")
|
public class TUserAddressVo extends Model<TUserAddressVo> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 客户id
|
*/
|
@TableField("user_id")
|
private Integer userId;
|
@TableField("company_name")
|
private String companyName;
|
private String address;
|
private String phone;
|
private String country;
|
private String state;
|
private String city;
|
@TableField("zip_code")
|
private String zipCode;
|
@TableField("contact_name")
|
private String contactName;
|
@TableField("contact_email")
|
private String contactEmail;
|
/**
|
* 1默认 2否
|
*/
|
@ApiModelProperty("1默认 2否")
|
private Integer isDefault;
|
@TableField("create_time")
|
private Date createTime;
|
@TableField("update_time")
|
private Date updateTime;
|
/**
|
* 0正常 1删除
|
*/
|
private Integer remove;
|
|
|
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 String getCompanyName() {
|
return companyName;
|
}
|
|
public void setCompanyName(String companyName) {
|
this.companyName = companyName;
|
}
|
|
public String getAddress() {
|
return address;
|
}
|
|
public void setAddress(String address) {
|
this.address = address;
|
}
|
|
public String getPhone() {
|
return phone;
|
}
|
|
public void setPhone(String phone) {
|
this.phone = phone;
|
}
|
|
public String getCountry() {
|
return country;
|
}
|
|
public void setCountry(String country) {
|
this.country = country;
|
}
|
|
public String getState() {
|
return state;
|
}
|
|
public void setState(String state) {
|
this.state = state;
|
}
|
|
public String getCity() {
|
return city;
|
}
|
|
public void setCity(String city) {
|
this.city = city;
|
}
|
|
public String getZipCode() {
|
return zipCode;
|
}
|
|
public void setZipCode(String zipCode) {
|
this.zipCode = zipCode;
|
}
|
|
public String getContactName() {
|
return contactName;
|
}
|
|
public void setContactName(String contactName) {
|
this.contactName = contactName;
|
}
|
|
public String getContactEmail() {
|
return contactEmail;
|
}
|
|
public void setContactEmail(String contactEmail) {
|
this.contactEmail = contactEmail;
|
}
|
|
public Integer getDefault() {
|
return isDefault;
|
}
|
|
public void setDefault(Integer isDefault) {
|
this.isDefault = isDefault;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public Integer getRemove() {
|
return remove;
|
}
|
|
public void setRemove(Integer remove) {
|
this.remove = remove;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TUserAddress{" +
|
"id=" + id +
|
", userId=" + userId +
|
", companyName=" + companyName +
|
", address=" + address +
|
", phone=" + phone +
|
", country=" + country +
|
", state=" + state +
|
", city=" + city +
|
", zipCode=" + zipCode +
|
", contactName=" + contactName +
|
", contactEmail=" + contactEmail +
|
", default=" + isDefault +
|
", createTime=" + createTime +
|
", updateTime=" + updateTime +
|
", remove=" + remove +
|
"}";
|
}
|
}
|