package com.stylefeng.guns.modular.system.model;
|
|
import com.baomidou.mybatisplus.enums.IdType;
|
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 吕雪
|
* @since 2020-06-06
|
*/
|
@TableName("t_company_city")
|
public class TCompanyCity extends Model<TCompanyCity> {
|
|
private static final long serialVersionUID = 1L;
|
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 公司id
|
*/
|
private Integer companyId;
|
/**
|
* 省Code
|
*/
|
private Integer provinceCode;
|
/**
|
* 市Code
|
*/
|
private Integer cityCode;
|
/**
|
* 区Code
|
*/
|
private Integer areaCode;
|
/**
|
* 城市id
|
*/
|
private Integer cityId;
|
/**
|
* 1=正常,2=删除
|
*/
|
private Integer state;
|
|
|
public Integer getId() {
|
return id;
|
}
|
|
public void setId(Integer id) {
|
this.id = id;
|
}
|
|
public Integer getCompanyId() {
|
return companyId;
|
}
|
|
public void setCompanyId(Integer companyId) {
|
this.companyId = companyId;
|
}
|
|
public Integer getProvinceCode() {
|
return provinceCode;
|
}
|
|
public void setProvinceCode(Integer provinceCode) {
|
this.provinceCode = provinceCode;
|
}
|
|
public Integer getCityCode() {
|
return cityCode;
|
}
|
|
public void setCityCode(Integer cityCode) {
|
this.cityCode = cityCode;
|
}
|
|
public Integer getAreaCode() {
|
return areaCode;
|
}
|
|
public void setAreaCode(Integer areaCode) {
|
this.areaCode = areaCode;
|
}
|
|
public Integer getState() {
|
return state;
|
}
|
|
public void setState(Integer state) {
|
this.state = state;
|
}
|
|
public Integer getCityId() {
|
return cityId;
|
}
|
|
public void setCityId(Integer cityId) {
|
this.cityId = cityId;
|
}
|
|
@Override
|
protected Serializable pkVal() {
|
return this.id;
|
}
|
|
@Override
|
public String toString() {
|
return "TCompanyCity{" +
|
"id=" + id +
|
", companyId=" + companyId +
|
", provinceCode=" + provinceCode +
|
", cityCode=" + cityCode +
|
", areaCode=" + areaCode +
|
", state=" + state +
|
"}";
|
}
|
}
|