?? applicationinfo.java
字號:
package com.sinosoft.message.po;
import java.util.HashSet;
import java.util.Set;
import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.Table;
/**
* Applicationinfo entity. @author MyEclipse Persistence Tools
*/
@Entity
@Table(name = "APPLICATIONINFO", schema = "MESSAGE")
public class Applicationinfo implements java.io.Serializable {
// Fields
private String id;
private String applicationName;
private String url;
private String createor;
private String createTime;
private String lastCreator;
private String lastModify;
private Set<Messagetype> messagetypes = new HashSet<Messagetype>(0);
// Constructors
/** default constructor */
public Applicationinfo() {
}
/** minimal constructor */
public Applicationinfo(String id) {
this.id = id;
}
/** full constructor */
public Applicationinfo(String id, String applicationName, String url,
String createor, String createTime, String lastCreator,
String lastModify, Set<Messagetype> messagetypes) {
this.id = id;
this.applicationName = applicationName;
this.url = url;
this.createor = createor;
this.createTime = createTime;
this.lastCreator = lastCreator;
this.lastModify = lastModify;
this.messagetypes = messagetypes;
}
// Property accessors
@Id
@Column(name = "ID", unique = true, nullable = false, length = 100)
public String getId() {
return this.id;
}
public void setId(String id) {
this.id = id;
}
@Column(name = "APPLICATION_NAME", length = 100)
public String getApplicationName() {
return this.applicationName;
}
public void setApplicationName(String applicationName) {
this.applicationName = applicationName;
}
@Column(name = "URL", length = 100)
public String getUrl() {
return this.url;
}
public void setUrl(String url) {
this.url = url;
}
@Column(name = "CREATEOR", length = 100)
public String getCreateor() {
return this.createor;
}
public void setCreateor(String createor) {
this.createor = createor;
}
@Column(name = "CREATE_TIME", length = 100)
public String getCreateTime() {
return this.createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
@Column(name = "LAST_CREATOR", length = 100)
public String getLastCreator() {
return this.lastCreator;
}
public void setLastCreator(String lastCreator) {
this.lastCreator = lastCreator;
}
@Column(name = "LAST_MODIFY", length = 20)
public String getLastModify() {
return this.lastModify;
}
public void setLastModify(String lastModify) {
this.lastModify = lastModify;
}
@OneToMany(cascade = CascadeType.ALL, fetch = FetchType.LAZY, mappedBy = "applicationinfo")
public Set<Messagetype> getMessagetypes() {
return this.messagetypes;
}
public void setMessagetypes(Set<Messagetype> messagetypes) {
this.messagetypes = messagetypes;
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -