|
|
@@ -1,12 +1,18 @@
|
|
|
package com.zhiqiyun.open.core.models;
|
|
|
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
import lombok.Data;
|
|
|
|
|
|
@Data
|
|
|
+@TableName("dict_city")
|
|
|
public class DictCity {
|
|
|
- private String parentId;
|
|
|
- private String fullName;
|
|
|
- private String shortName;
|
|
|
- private String grade;
|
|
|
- private String childrenNum;
|
|
|
+ @TableId(type = IdType.INPUT)
|
|
|
+ private String id;
|
|
|
+ private String parentId;
|
|
|
+ private String fullName;
|
|
|
+ private String shortName;
|
|
|
+ private String grade;
|
|
|
+ private String childrenNum;
|
|
|
}
|