From 59e91a4e9ddaf23cebb12993c774aa899ab22d16 Mon Sep 17 00:00:00 2001
From: 郑永安 <zyazyz250@sina.com>
Date: Mon, 19 Jun 2023 14:22:45 +0800
Subject: [PATCH] 描述
---
src/main/java/com/gk/firework/Domain/DistrictInfo.java | 80 ++++++++++++++++++++++++++++++++++++++++
1 files changed, 80 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/gk/firework/Domain/DistrictInfo.java b/src/main/java/com/gk/firework/Domain/DistrictInfo.java
new file mode 100644
index 0000000..0422be3
--- /dev/null
+++ b/src/main/java/com/gk/firework/Domain/DistrictInfo.java
@@ -0,0 +1,80 @@
+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;
+ }
+}
--
Gitblit v1.9.2