📄 voicevalueobject.java
字号:
package com.gctech.sms.voice.dao;import java.util.Date; /* author:lijz@gctech.com.cn */ public class VoiceValueObject implements java.io.Serializable { //-----Codes below generated by dao private Integer id ; private Integer catalogId ; private String description ; private Integer count ; private Date createDate ; private Integer price ; private Integer type ; private String name ; private Integer userId ; private String userName ; public Integer getId() { return this.id ; } public Integer getCatalogId() { return this.catalogId ; } public String getDescription() { return this.description ; } public Integer getCount() { return this.count ; } public Date getCreateDate() { return this.createDate ; } public Integer getPrice() { return this.price ; } public Integer getType() { return this.type ; } public String getName() { return this.name ; } public Integer getUserId() { return this.userId ; } public String getUserName() { return this.userName ; } public void setId(Integer aInteger) { this.id = aInteger ; } public void setCatalogId(Integer aInteger) { this.catalogId = aInteger ; } public void setDescription(String aString) { this.description = aString ; } public void setCount(Integer aInteger) { this.count = aInteger ; } public void setCreateDate(Date aDate) { this.createDate = aDate ; } public void setPrice(Integer aInteger) { this.price = aInteger ; } public void setType(Integer aInteger) { this.type = aInteger ; } public void setName(String aString) { this.name = aString ; } public void setUserId(Integer aInteger) { this.userId = aInteger ; } public void setUserName(String aString) { this.userName = aString ; } public boolean equals(Object aObject) { if(aObject==null){ return false; } if(this == aObject) { return true; } if (!(aObject instanceof VoiceValueObject) ){ return false; } VoiceValueObject aVoiceValueObject = (VoiceValueObject)aObject; if( (this.id.equals(aVoiceValueObject.id)) ){ return true; } return false; } public String toString() { StringBuffer sb = new StringBuffer(); sb.append("[id="+this.id+";]"); return sb.toString(); } public int hashCode() { int hashCode = 0; hashCode = hashCode+id.hashCode(); return hashCode; } //-----Codes above generated by dao }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -