package cn.com.countrygarden.bi.main.model.districtReport;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;


/**
 * 片区erp项目对应
 *
 * @author 吕伟峰
 * @email www.justintoforest@gamail.com
 * @url 
 * @date 2019-08-14
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@Table(name = "rd_district_project_mp")
public class RdDistrictProjectMp implements Serializable{
    private static final long serialVersionUID = 1L;
    /**
     * id
     */
    @Id
    @GeneratedValue(strategy=GenerationType.IDENTITY)
    private Integer id;
    /**
     * 片区编号
     */
 	@Column(name="district_code")
    private String districtCode;
    /**
     * 项目编号
     */
 	@Column(name="project_code")
    private String projectCode;
    /**
     * 项目名称
     */
 	@Column(name="project_name")
    private String projectName;
    /**
     * 可用
     */
 	@Column(name="ENABLE")
    private Integer enable;
    /**
     * 创建日期
     */
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;
    /**
     * 创建人
     */
 	@Column(name="create_by")
    private String createBy;
    /**
     * 创建人姓名
     */
    @Column(name="create_name")
    private String createName;
    /**
     * 修改日期
     */
    @JsonFormat(pattern="yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;
    /**
     * 修改人
     */
 	@Column(name="update_by")
    private String updateBy;
    /**
     * 修改姓名
     */
    @Column(name="update_name")
    private String updateName;
    public RdDistrictProjectMp() {
          super();
    }
    public void setId(Integer id) {
          this.id = id;
    }
	
    public Integer getId() {
          return id;
    }
    public void setDistrictCode(String districtCode) {
          this.districtCode = districtCode;
    }
	
    public String getDistrictCode() {
          return districtCode;
    }
    public void setProjectCode(String projectCode) {
          this.projectCode = projectCode;
    }
	
    public String getProjectCode() {
          return projectCode;
    }
    public void setProjectName(String projectName) {
          this.projectName = projectName;
    }
	
    public String getProjectName() {
          return projectName;
    }
    public void setEnable(Integer enable) {
          this.enable = enable;
    }
	
    public Integer getEnable() {
          return enable;
    }
    public void setCreateTime(Date createTime) {
          this.createTime = createTime;
    }
	
    public Date getCreateTime() {
          return createTime;
    }
    public void setCreateBy(String createBy) {
          this.createBy = createBy;
    }
	
    public String getCreateBy() {
          return createBy;
    }
    public void setUpdateTime(Date updateTime) {
          this.updateTime = updateTime;
    }
	
    public Date getUpdateTime() {
          return updateTime;
    }
    public void setUpdateBy(String updateBy) {
          this.updateBy = updateBy;
    }
	
    public String getUpdateBy() {
          return updateBy;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }
}
