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_port")
|
public class TPort extends Model<TPort> {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* city
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 名称
|
*/
|
@ApiModelProperty("码头名称")
|
private String name;
|
/**
|
* country id
|
*/
|
@ApiModelProperty("country id")
|
private Integer country;
|
/**
|
* state id
|
*/
|
@ApiModelProperty("state id")
|
private Integer state;
|
/**
|
* city id
|
*/
|
@ApiModelProperty("city id")
|
private Integer city;
|
@TableField("zip_code")
|
private String zipCode;
|
@ApiModelProperty("地址")
|
private String address;
|
@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 String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
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 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 "TPort{" +
|
"id=" + id +
|
", name=" + name +
|
", country=" + country +
|
", state=" + state +
|
", city=" + city +
|
", zipCode=" + zipCode +
|
", address=" + address +
|
", createTime=" + createTime +
|
", updateTime=" + updateTime +
|
", remove=" + remove +
|
"}";
|
}
|
}
|