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 {
|
/**
|
* 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;
|
|
/**
|
* 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;
|
|
/**
|
* 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;
|
|
/**
|
* 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;
|
|
/**
|
* 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;
|
|
/**
|
* 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;
|
|
/**
|
* 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;
|
|
/**
|
* 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;
|
|
/**
|
* 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;
|
|
/**
|
* 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;
|
|
/**
|
* 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;
|
|
/**
|
* 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;
|
|
/**
|
* 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;
|
|
}
|