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.annotations.TableField;
|
import com.baomidou.mybatisplus.activerecord.Model;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 检查站
|
* </p>
|
*
|
* @author stylefeng
|
* @since 2022-12-29
|
*/
|
@TableName("t_exam_site")
|
public class TExamSite extends Model<TExamSite> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 站名称
|
*/
|
@TableField("exam_site_name")
|
private String examSiteName;
|
/**
|
* country id
|
*/
|
private Integer country;
|
/**
|
* state id
|
*/
|
private Integer state;
|
/**
|
* city id
|
*/
|
private Integer city;
|
/**
|
* 编码
|
*/
|
@TableField("zip_code")
|
private String zipCode;
|
/**
|
* 地址
|
*/
|
private String address;
|
/**
|
* 联系人名称
|
*/
|
@TableField("contact_name")
|
private String contactName;
|
/**
|
* 联系人邮箱
|
*/
|
@TableField("contact_email")
|
private String contactEmail;
|
/**
|
* 创建时间
|
*/
|
@TableField("create_time")
|
private Date createTime;
|
/**
|
* 更新时间
|
*/
|
@TableField("update_time")
|
private Date updateTime;
|
/**
|
* 0正常 1删除
|
*/
|
private Integer remove;
|
@TableField("contact_phone")
|
private String contactPhone;
|
|
public String getContactPhone() {
|
return contactPhone;
|
}
|
|
public void setContactPhone(String contactPhone) {
|
this.contactPhone = contactPhone;
|
}
|
|
@TableField(exist = false)
|
@ApiModelProperty("country名称")
|
private String countryName;
|
|
public String getCountryName() {
|
return countryName;
|
}
|
|
public void setCountryName(String countryName) {
|
this.countryName = countryName;
|
}
|
|
public String getStateName() {
|
return stateName;
|
}
|
|
public void setStateName(String stateName) {
|
this.stateName = stateName;
|
}
|
|
public String getCityName() {
|
return cityName;
|
}
|
|
public void setCityName(String cityName) {
|
this.cityName = cityName;
|
}
|
|
@TableField(exist = false)
|
@ApiModelProperty("state名称")
|
private String stateName;
|
@TableField(exist = false)
|
@ApiModelProperty("city名称")
|
private String cityName;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public String getExamSiteName() {
|
return examSiteName;
|
}
|
|
public void setExamSiteName(String examSiteName) {
|
this.examSiteName = examSiteName;
|
}
|
|
public Integer getCountry() {
|
return country;
|
}
|
|
public void setCountry(Integer country) {
|
this.country = country;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public Integer getCity() {
|
return city;
|
}
|
|
public void setCity(Integer city) {
|
this.city = city;
|
}
|
|
public String getZipCode() {
|
return zipCode;
|
}
|
|
public void setZipCode(String zipCode) {
|
this.zipCode = zipCode;
|
}
|
|
public String getAddress() {
|
return address;
|
}
|
|
public void setAddress(String address) {
|
this.address = address;
|
}
|
|
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 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 "TExamSite{" +
|
"id=" + id +
|
", examSiteName=" + examSiteName +
|
", country=" + country +
|
", state=" + state +
|
", city=" + city +
|
", zipCode=" + zipCode +
|
", address=" + address +
|
", contactName=" + contactName +
|
", contactEmail=" + contactEmail +
|
", createTime=" + createTime +
|
", updateTime=" + updateTime +
|
", remove=" + remove +
|
"}";
|
}
|
}
|