From f2a2ea09481d49a2e7aecb521249f9e18834af54 Mon Sep 17 00:00:00 2001 From: ZhuDongming <773644075@qq.com> Date: Wed, 12 Jun 2019 15:29:20 +0800 Subject: [PATCH] 更改上传导包*问题 --- src/main/java/com/moral/entity/Organization.java | 92 +++++++++++++++++++++++++++++++++++++++------ 1 files changed, 79 insertions(+), 13 deletions(-) diff --git a/src/main/java/com/moral/entity/Organization.java b/src/main/java/com/moral/entity/Organization.java index c615e27..eb237bb 100644 --- a/src/main/java/com/moral/entity/Organization.java +++ b/src/main/java/com/moral/entity/Organization.java @@ -1,35 +1,101 @@ package com.moral.entity; import java.util.Date; +import java.util.Map; + +import javax.persistence.GeneratedValue; +import javax.persistence.GenerationType; +import javax.persistence.Id; +import javax.persistence.Transient; import lombok.Data; @Data public class Organization { - private Integer id; + /** + * This field was generated by MyBatis Generator. This field corresponds to the database column organization.id + * @mbggenerated Thu Dec 07 15:18:16 CST 2017 + */ + @Id + @GeneratedValue(strategy = GenerationType.IDENTITY) + private Integer id; - private String name; + /** + * This field was generated by MyBatis Generator. This field corresponds to the database column organization.name + * @mbggenerated Thu Dec 07 15:18:16 CST 2017 + */ + private String name; - private Integer rank; + /** + * This field was generated by MyBatis Generator. This field corresponds to the database column organization.rank + * @mbggenerated Thu Dec 07 15:18:16 CST 2017 + */ + private Integer rank; - private Integer provinceCode; + /** + * This field was generated by MyBatis Generator. This field corresponds to the database column organization.province_code + * @mbggenerated Thu Dec 07 15:18:16 CST 2017 + */ + private Integer provinceCode; - private Integer cityCode; + /** + * This field was generated by MyBatis Generator. This field corresponds to the database column organization.city_code + * @mbggenerated Thu Dec 07 15:18:16 CST 2017 + */ + private Integer cityCode; - private Integer areaCode; + /** + * This field was generated by MyBatis Generator. This field corresponds to the database column organization.area_code + * @mbggenerated Thu Dec 07 15:18:16 CST 2017 + */ + private Integer areaCode; - private String address; + /** + * This field was generated by MyBatis Generator. This field corresponds to the database column organization.address + * @mbggenerated Thu Dec 07 15:18:16 CST 2017 + */ + private String address; - private String telephone; + /** + * This field was generated by MyBatis Generator. This field corresponds to the database column organization.telephone + * @mbggenerated Thu Dec 07 15:18:16 CST 2017 + */ + private String telephone; - private String email; + /** + * This field was generated by MyBatis Generator. This field corresponds to the database column organization.email + * @mbggenerated Thu Dec 07 15:18:16 CST 2017 + */ + private String email; - private String isDelete; + /** + * This field was generated by MyBatis Generator. This field corresponds to the database column organization.is_delete + * @mbggenerated Thu Dec 07 15:18:16 CST 2017 + */ + private String isDelete; - private Date createTime; + /** + * This field was generated by MyBatis Generator. This field corresponds to the database column organization.create_time + * @mbggenerated Thu Dec 07 15:18:16 CST 2017 + */ + private Date createTime; - private Date expireTime; + /** + * This field was generated by MyBatis Generator. This field corresponds to the database column organization.expire_time + * @mbggenerated Thu Dec 07 15:18:16 CST 2017 + */ + private Date expireTime; - private String description; + /** + * This field was generated by MyBatis Generator. This field corresponds to the database column organization.description + * @mbggenerated Thu Dec 07 15:18:16 CST 2017 + */ + private String description; + private Long townCode; + private Long villageCode; + @Transient + private Integer parentId; + @Transient + private AreaNames areaNames; } \ No newline at end of file -- Gitblit v1.8.0