对比新文件 |
| | |
| | | package com.gk.firework.Domain; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | |
| | | import java.io.Serializable; |
| | | |
| | | @TableName("district") |
| | | public class DistrictInfo implements Serializable { |
| | | @TableField(exist = false) |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** code **/ |
| | | private String code; |
| | | |
| | | /** name **/ |
| | | private String name; |
| | | |
| | | /** parentcode **/ |
| | | private String parentcode; |
| | | |
| | | /** 1省份2城市3区县4乡镇5居委会 type **/ |
| | | private Byte type; |
| | | |
| | | /** id **/ |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | /** id **/ |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | /** code **/ |
| | | public String getCode() { |
| | | return code; |
| | | } |
| | | |
| | | /** code **/ |
| | | public void setCode(String code) { |
| | | this.code = code == null ? null : code.trim(); |
| | | } |
| | | |
| | | /** name **/ |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | /** name **/ |
| | | public void setName(String name) { |
| | | this.name = name == null ? null : name.trim(); |
| | | } |
| | | |
| | | /** parentcode **/ |
| | | public String getParentcode() { |
| | | return parentcode; |
| | | } |
| | | |
| | | /** parentcode **/ |
| | | public void setParentcode(String parentcode) { |
| | | this.parentcode = parentcode == null ? null : parentcode.trim(); |
| | | } |
| | | |
| | | /** 1省份2城市3区县4乡镇5居委会 type **/ |
| | | public Byte getType() { |
| | | return type; |
| | | } |
| | | |
| | | /** 1省份2城市3区县4乡镇5居委会 type **/ |
| | | public void setType(Byte type) { |
| | | this.type = type; |
| | | } |
| | | } |