aec0fb3b008ef59039e92d7d9f24794e0c8ef61c.svn-base 2.83 KB
/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.reg.entity.base;

import org.hibernate.validator.constraints.Length;
import java.util.Date;

import javax.xml.bind.annotation.XmlRootElement;

import com.fasterxml.jackson.annotation.JsonFormat;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 项目(小区)信息维护Entity
 * @author xuyg
 * @version 2015-11-11
 */
@XmlRootElement(name="regBaseXm")
public class RegBaseXm extends DataEntity<RegBaseXm> {
	
	private static final long serialVersionUID = 1L;
	private String xmbh;		// 项目编码
	private String xmmc;		// 项目名称
	private Date sqsj;		// 申请时间
	private String sm;		// 说明
	private String zddm;   //宗地代码
	private String jsdwmc; //建设单位名称
	private String zjzl; //证件种类
	private String zjh; //证件号
	private String dwdz; //单位地址
	private String creater; //添加人
	private String updater; //修改人
	private String isaudit; //审核  0未审核【反审核】【可以修改】  1已审核【审核】【不可以修改】  2已引用【不可以修改】
	
	public RegBaseXm() {
		super();
	}

	public RegBaseXm(String id){
		super(id);
	}

	@Length(min=0, max=30, message="项目编码长度必须介于 0 和 30 之间")
	public String getXmbh() {
		return xmbh;
	}

	public void setXmbh(String xmbh) {
		this.xmbh = xmbh;
	}
	
	@Length(min=0, max=80, message="项目名称长度必须介于 0 和 80 之间")
	public String getXmmc() {
		return xmmc;
	}

	public void setXmmc(String xmmc) {
		this.xmmc = xmmc;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getSqsj() {
		return sqsj;
	}

	public void setSqsj(Date sqsj) {
		this.sqsj = sqsj;
	}
	
	@Length(min=0, max=300, message="说明长度必须介于 0 和 300 之间")
	public String getSm() {
		return sm;
	}

	public void setSm(String sm) {
		this.sm = sm;
	}

	public String getZddm() {
		return zddm;
	}

	public void setZddm(String zddm) {
		this.zddm = zddm;
	}

	public String getJsdwmc() {
		return jsdwmc;
	}

	public void setJsdwmc(String jsdwmc) {
		this.jsdwmc = jsdwmc;
	}

	public String getZjzl() {
		return zjzl;
	}

	public void setZjzl(String zjzl) {
		this.zjzl = zjzl;
	}

	public String getZjh() {
		return zjh;
	}

	public void setZjh(String zjh) {
		this.zjh = zjh;
	}

	public String getDwdz() {
		return dwdz;
	}

	public void setDwdz(String dwdz) {
		this.dwdz = dwdz;
	}

	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	public String getUpdater() {
		return updater;
	}

	public void setUpdater(String updater) {
		this.updater = updater;
	}

	public String getIsaudit() {
		return isaudit;
	}

	public void setIsaudit(String isaudit) {
		this.isaudit = isaudit;
	}
	
}