AbstractTmailinfo.java
资源名称:(J2EE)oa.rar [点击查看]
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:3k
源码类别:
Jsp/Servlet
开发平台:
Java
- package com.oa.module.email.mapping;
- import java.util.HashSet;
- import java.util.Set;
- import com.oa.module.email.fujian.mapping.Tfujian;
- /**
- * 邮件详细信息持久类
- * AbstractTmailinfo generated by MyEclipse - Hibernate Tools
- */
- public abstract class AbstractTmailinfo implements java.io.Serializable {
- // Fields
- private String emailid;
- private String title;
- private String content;
- private String sendid;
- private String sendname;
- private String receiveid;
- private String receivename;
- private String sendtime;
- private String isread;
- private String emailtype;
- private String isfujian;
- private Set fujian = new HashSet();
- // Constructors
- /** default constructor */
- public AbstractTmailinfo() {
- }
- /** full constructor */
- public AbstractTmailinfo(String title, String content, String sendid,
- String sendname, String receiveid, String receivename,
- String sendtime, String isread, String emailtype, String isfujian) {
- this.title = title;
- this.content = content;
- this.sendid = sendid;
- this.sendname = sendname;
- this.receiveid = receiveid;
- this.receivename = receivename;
- this.sendtime = sendtime;
- this.isread = isread;
- this.emailtype = emailtype;
- this.isfujian = isfujian;
- }
- // Property accessors
- public String getEmailid() {
- return this.emailid;
- }
- public void setEmailid(String emailid) {
- this.emailid = emailid;
- }
- public String getTitle() {
- return this.title;
- }
- public void setTitle(String title) {
- this.title = title;
- }
- public String getContent() {
- return this.content;
- }
- public void setContent(String content) {
- this.content = content;
- }
- public String getSendid() {
- return this.sendid;
- }
- public void setSendid(String sendid) {
- this.sendid = sendid;
- }
- public String getSendname() {
- return this.sendname;
- }
- public void setSendname(String sendname) {
- this.sendname = sendname;
- }
- public String getReceiveid() {
- return this.receiveid;
- }
- public void setReceiveid(String receiveid) {
- this.receiveid = receiveid;
- }
- public String getReceivename() {
- return this.receivename;
- }
- public void setReceivename(String receivename) {
- this.receivename = receivename;
- }
- public String getSendtime() {
- return this.sendtime;
- }
- public void setSendtime(String sendtime) {
- this.sendtime = sendtime;
- }
- public String getIsread() {
- return this.isread;
- }
- public void setIsread(String isread) {
- this.isread = isread;
- }
- public String getEmailtype() {
- return this.emailtype;
- }
- public void setEmailtype(String emailtype) {
- this.emailtype = emailtype;
- }
- public String getIsfujian() {
- return this.isfujian;
- }
- public void setIsfujian(String isfujian) {
- this.isfujian = isfujian;
- }
- public boolean equals(Object obj) {
- if (obj == null)
- return false;
- if (!(obj instanceof Tmailinfo))
- return false;
- Tmailinfo that = (Tmailinfo) obj;
- if (this.getEmailid() == null || this.getEmailid().equals("")
- || that.getEmailid() == null || that.getEmailid().equals(""))
- return false;
- return (this.getEmailid().equals(that.getEmailid()));
- }
- public int hashCode() {
- return Integer.parseInt(this.getEmailid());
- }
- public Set getFujian() {
- return fujian;
- }
- public void setFujian(Set fujian) {
- this.fujian = fujian;
- }
- }