📄 baseview.java
字号:
package com.free.struts.storefront.framework.view;
import java.sql.Timestamp;
/**
* <p>Title: Eclipse Plugin Development</p>
* <p>Description: Free download</p>
* <p>Copyright: Copyright (c) 2006</p>
* <p>Company: Free</p>
* @author gan.shu.man
* @version 1.0
*/
public class BaseView implements java.io.Serializable {
private String id;
private Timestamp timeCreated = null;
private String description;
private String name;
public BaseView() {
super();
setTimeCreated(new Timestamp(System.currentTimeMillis()));
}
public BaseView(String id,
String name,
String desc) {
this();
this.id = id;
this.name = name;
this.description = desc;
}
public void setName(String name) {
this.name = name;
}
public void setTimeCreated(Timestamp now) {
timeCreated = now;
}
public void setDescription(String description) {
this.description = description;
}
public void setId(String id) {
this.id = id;
}
public String getName() {
return name;
}
public String getDescription() {
return description;
}
public String getId() {
return id;
}
public Timestamp getTimeCreated() {
return timeCreated;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -