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

import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

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

/**
 * s_reg_base_zdbhqkEntity
 * @author xuyg
 * @version 2017-03-07
 */
public class SRegBaseZdbhqk extends DataEntity<SRegBaseZdbhqk> {
	
	private static final long serialVersionUID = 1L;
	private String sareaCode;		// s_area_code
	private String zddm;		// zddm
	private String bhyy;		// bhyy
	private String bhnr;		// bhnr
	private Date djsj;		// djsj
	private String dbr;		// dbr
	private String fj;		// fj
	private String ywh;		// ywh
	private String zdid;		// zdid
	private String oldzdid;		// oldzdid
	private String qxid;		// qxid
	public String getQxid() {
		return qxid;
	}

	public void setQxid(String qxid) {
		this.qxid = qxid;
	}

	public SRegBaseZdbhqk() {
		super();
	}

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

	@Length(min=1, max=6, message="s_area_code长度必须介于 1 和 6 之间")
	public String getSareaCode() {
		return sareaCode;
	}

	public void setSareaCode(String sareaCode) {
		this.sareaCode = sareaCode;
	}
	
	@Length(min=0, max=19, message="zddm长度必须介于 0 和 19 之间")
	public String getZddm() {
		return zddm;
	}

	public void setZddm(String zddm) {
		this.zddm = zddm;
	}
	
	@Length(min=0, max=300, message="bhyy长度必须介于 0 和 300 之间")
	public String getBhyy() {
		return bhyy;
	}

	public void setBhyy(String bhyy) {
		this.bhyy = bhyy;
	}
	
	@Length(min=0, max=500, message="bhnr长度必须介于 0 和 500 之间")
	public String getBhnr() {
		return bhnr;
	}

	public void setBhnr(String bhnr) {
		this.bhnr = bhnr;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getDjsj() {
		return djsj;
	}

	public void setDjsj(Date djsj) {
		this.djsj = djsj;
	}
	
	@Length(min=0, max=50, message="dbr长度必须介于 0 和 50 之间")
	public String getDbr() {
		return dbr;
	}

	public void setDbr(String dbr) {
		this.dbr = dbr;
	}
	
	@Length(min=0, max=300, message="fj长度必须介于 0 和 300 之间")
	public String getFj() {
		return fj;
	}

	public void setFj(String fj) {
		this.fj = fj;
	}
	
	@Length(min=0, max=16, message="ywh长度必须介于 0 和 16 之间")
	public String getYwh() {
		return ywh;
	}

	public void setYwh(String ywh) {
		this.ywh = ywh;
	}
	
	@Length(min=0, max=64, message="zdid长度必须介于 0 和 64 之间")
	public String getZdid() {
		return zdid;
	}

	public void setZdid(String zdid) {
		this.zdid = zdid;
	}
	
	@Length(min=0, max=64, message="oldzdid长度必须介于 0 和 64 之间")
	public String getOldzdid() {
		return oldzdid;
	}

	public void setOldzdid(String oldzdid) {
		this.oldzdid = oldzdid;
	}
	
}