package com.stylefeng.guns.modular.system.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; /** * 企业经营范围 */ @TableName("t_company_city") public class CompanyCity { /** * 主键 */ @TableId(value = "id", type = IdType.AUTO) @TableField("id") private Integer id; /** * 企业id */ @TableField("companyId") private Integer companyId; /** * 省编号 */ @TableField("provinceCode") private String provinceCode; /** * 市编号 */ @TableField("cityCode") private String cityCode; /** * 区编号 */ @TableField("areaCode") private String areaCode; /** * 状态(1=正常,2=删除) */ @TableField("state") 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 String getProvinceCode() { return provinceCode; } public void setProvinceCode(String provinceCode) { this.provinceCode = provinceCode; } public String getCityCode() { return cityCode; } public void setCityCode(String cityCode) { this.cityCode = cityCode; } public String getAreaCode() { return areaCode; } public void setAreaCode(String areaCode) { this.areaCode = areaCode; } public Integer getState() { return state; } public void setState(Integer state) { this.state = state; } @Override public String toString() { return "CompanyCity{" + "id=" + id + ", companyId=" + companyId + ", provinceCode='" + provinceCode + '\'' + ", cityCode='" + cityCode + '\'' + ", areaCode='" + areaCode + '\'' + ", state=" + state + '}'; } }