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;
/**
*
* 公司经营地区
*
*
* @author 吕雪
* @since 2020-06-06
*/
@TableName("t_company_city")
public class TCompanyCity extends Model {
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;
/**
* 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;
}
@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 +
"}";
}
}