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

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

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

/**
 * 发证短信Entity
 * @author f
 * @version 2018-02-07
 */
public class SRegBusFzdx extends DataEntity<SRegBusFzdx> {
	
	private static final long serialVersionUID = 1L;
	private String ywh;		// ywh
	private String tzrmc;		// tzrmc
	private String tzryddh;		// tzryddh
	private Date dxfssj;		// dxfssj
	
	public SRegBusFzdx() {
		super();
	}

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

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

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

	public void setTzrmc(String tzrmc) {
		this.tzrmc = tzrmc;
	}
	
	@Length(min=0, max=50, message="tzryddh长度必须介于 0 和 50 之间")
	public String getTzryddh() {
		return tzryddh;
	}

	public void setTzryddh(String tzryddh) {
		this.tzryddh = tzryddh;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getDxfssj() {
		return dxfssj;
	}

	public void setDxfssj(Date dxfssj) {
		this.dxfssj = dxfssj;
	}
	
}