tbmmsgroupsendid.java
来自「移动彩信管理平台」· Java 代码 · 共 132 行
JAVA
132 行
package com.my7g.zj.mobile.mms.mapping;
import java.util.Date;
/**
* TbMmsGroupSendId generated by MyEclipse Persistence Tools
*/
public class TbMmsGroupSendId implements java.io.Serializable {
// Fields
private Long mmsId;
private String mmsTitle;
private Integer provideId;
private String typeIndex;
private Date sentTime;
// Constructors
/** default constructor */
public TbMmsGroupSendId() {
}
/** minimal constructor */
public TbMmsGroupSendId(Long mmsId, Integer provideId, String typeIndex,
Date sentTime) {
this.mmsId = mmsId;
this.provideId = provideId;
this.typeIndex = typeIndex;
this.sentTime = sentTime;
}
/** full constructor */
public TbMmsGroupSendId(Long mmsId, String mmsTitle, Integer provideId,
String typeIndex, Date sentTime) {
this.mmsId = mmsId;
this.mmsTitle = mmsTitle;
this.provideId = provideId;
this.typeIndex = typeIndex;
this.sentTime = sentTime;
}
// Property accessors
public Long getMmsId() {
return this.mmsId;
}
public void setMmsId(Long mmsId) {
this.mmsId = mmsId;
}
public String getMmsTitle() {
return this.mmsTitle;
}
public void setMmsTitle(String mmsTitle) {
this.mmsTitle = mmsTitle;
}
public Integer getProvideId() {
return this.provideId;
}
public void setProvideId(Integer provideId) {
this.provideId = provideId;
}
public String getTypeIndex() {
return this.typeIndex;
}
public void setTypeIndex(String typeIndex) {
this.typeIndex = typeIndex;
}
public Date getSentTime() {
return this.sentTime;
}
public void setSentTime(Date sentTime) {
this.sentTime = sentTime;
}
public boolean equals(Object other) {
if ((this == other))
return true;
if ((other == null))
return false;
if (!(other instanceof TbMmsGroupSendId))
return false;
TbMmsGroupSendId castOther = (TbMmsGroupSendId) other;
return ((this.getMmsId() == castOther.getMmsId()) || (this.getMmsId() != null
&& castOther.getMmsId() != null && this.getMmsId().equals(
castOther.getMmsId())))
&& ((this.getMmsTitle() == castOther.getMmsTitle()) || (this
.getMmsTitle() != null
&& castOther.getMmsTitle() != null && this
.getMmsTitle().equals(castOther.getMmsTitle())))
&& ((this.getProvideId() == castOther.getProvideId()) || (this
.getProvideId() != null
&& castOther.getProvideId() != null && this
.getProvideId().equals(castOther.getProvideId())))
&& ((this.getTypeIndex() == castOther.getTypeIndex()) || (this
.getTypeIndex() != null
&& castOther.getTypeIndex() != null && this
.getTypeIndex().equals(castOther.getTypeIndex())))
&& ((this.getSentTime() == castOther.getSentTime()) || (this
.getSentTime() != null
&& castOther.getSentTime() != null && this
.getSentTime().equals(castOther.getSentTime())));
}
public int hashCode() {
int result = 17;
result = 37 * result
+ (getMmsId() == null ? 0 : this.getMmsId().hashCode());
result = 37 * result
+ (getMmsTitle() == null ? 0 : this.getMmsTitle().hashCode());
result = 37 * result
+ (getProvideId() == null ? 0 : this.getProvideId().hashCode());
result = 37 * result
+ (getTypeIndex() == null ? 0 : this.getTypeIndex().hashCode());
result = 37 * result
+ (getSentTime() == null ? 0 : this.getSentTime().hashCode());
return result;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?