content: /**
   * * Copyright &copy; 2015-2020 <a href="https://gitee.com/JeeHuangBingGui/JeeSpring">JeeSpring</a> All rights reserved..
   */
  package com.jeespring.modules.oa.entity;
  
  import org.hibernate.validator.constraints.Length;
  
  import com.jeespring.common.persistence.AbstractBaseEntity;
  import com.jeespring.modules.sys.entity.User;
  
  import java.util.Date;
  
  
  /**
   * 通知通告记录Entity
   * @author 黄炳桂 516821420@qq.com
   * @version 2014-05-16
   */
  public class OaNotifyRecord extends AbstractBaseEntity<OaNotifyRecord> {
  	
  	private static final long serialVersionUID = 1L;
  	private OaNotify oaNotify;		// 通知通告ID
  	private User user;		// 接受人
  	private String readFlag;		// 阅读标记（0：未读；1：已读）
  	private Date readDate;		// 阅读时间
  	
  	
  	public OaNotifyRecord() {
  		super();
  	}
  
  	public OaNotifyRecord(String id){
  		super(id);
  	}
  	
  	public OaNotifyRecord(OaNotify oaNotify){
  		this.oaNotify = oaNotify;
  	}
  
  	public OaNotify getOaNotify() {
  		return oaNotify;
  	}
  
  	public void setOaNotify(OaNotify oaNotify) {
  		this.oaNotify = oaNotify;
  	}
  	
  	public User getUser() {
  		return user;
  	}
  
  	public void setUser(User user) {
  		this.user = user;
  	}
  	
  	@Length(min=0, max=1, message="阅读标记（0：未读；1：已读）长度必须介于 0 和 1 之间")
  	public String getReadFlag() {
  		return readFlag;
  	}
  
  	public void setReadFlag(String readFlag) {
  		this.readFlag = readFlag;
  	}
  	
  	public Date getReadDate() {
  		return readDate;
  	}
  
  	public void setReadDate(Date readDate) {
  		this.readDate = readDate;
  	}
  	
  }