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

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

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

/**
 * 智慧局数据推送数据推送Entity
 * @author lw
 * @version 2020-06-16
 */
public class ZhjSendpatch extends DataEntity<ZhjSendpatch> {
	
	private static final long serialVersionUID = 1L;
	private String datacontent;		// datacontent
	private Date sdate;		// sdate
	private Date edate;		// edate
	private String sendzt;		// sendzt
	private String sendmsg;		// sendmsg
	
	public ZhjSendpatch() {
		super();
	}

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

	public String getDatacontent() {
		return datacontent;
	}

	public void setDatacontent(String datacontent) {
		this.datacontent = datacontent;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getSdate() {
		return sdate;
	}

	public void setSdate(Date sdate) {
		this.sdate = sdate;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getEdate() {
		return edate;
	}

	public void setEdate(Date edate) {
		this.edate = edate;
	}
	
	@Length(min=0, max=10, message="sendzt长度必须介于 0 和 10 之间")
	public String getSendzt() {
		return sendzt;
	}

	public void setSendzt(String sendzt) {
		this.sendzt = sendzt;
	}
	
	@Length(min=0, max=4000, message="sendmsg长度必须介于 0 和 4000 之间")
	public String getSendmsg() {
		return sendmsg;
	}

	public void setSendmsg(String sendmsg) {
		this.sendmsg = sendmsg;
	}
	
}