newlively.java
来自「hibernate+spring的相片上传项目」· Java 代码 · 共 109 行
JAVA
109 行
package org.lenovoAC.pojo;
import java.io.Serializable;import java.util.Date;import org.apache.commons.lang.builder.ToStringBuilder;
/** @author Hibernate CodeGenerator */
public class NewLively implements Serializable {
/** identifier field */
private String productId;
/** nullable persistent field */
private String productTitle;
/** nullable persistent field */
private String productContext;
/** nullable persistent field */
private Date time;
/** nullable persistent field */
private String typeState;
/** nullable persistent field */
private String state;
/** nullable persistent field */
private String other;
/** full constructor */
public NewLively(String productTitle, String productContext, Date time, String typeState, String state, String other) {
this.productTitle = productTitle;
this.productContext = productContext;
this.time = time;
this.typeState = typeState;
this.state = state;
this.other = other;
}
/** default constructor */
public NewLively() {
}
public String getProductId() {
return this.productId;
}
public void setProductId(String productId) {
this.productId = productId;
}
public String getProductTitle() {
return this.productTitle;
}
public void setProductTitle(String productTitle) {
this.productTitle = productTitle;
}
public String getProductContext() {
return this.productContext;
}
public void setProductContext(String productContext) {
this.productContext = productContext;
}
public Date getTime() {
return this.time;
}
public void setTime(Date time) {
this.time = time;
}
public String getTypeState() {
return this.typeState;
}
public void setTypeState(String typeState) {
this.typeState = typeState;
}
public String getState() {
return this.state;
}
public void setState(String state) {
this.state = state;
}
public String getOther() {
return this.other;
}
public void setOther(String other) {
this.other = other;
}
public String toString() {
return new ToStringBuilder(this)
.append("productId", getProductId())
.toString();
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?