📄 userdefinedstrategy.java
字号:
package com.sinosoft.message.po;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
/**
* Userdefinedstrategy entity. @author MyEclipse Persistence Tools
*/
@Entity
@Table(name = "USERDEFINEDSTRATEGY", schema = "MESSAGE")
public class Userdefinedstrategy implements java.io.Serializable {
// Fields
private String id;
private Functionalmodel functionalmodel;
private String strategyName;
private String strategyDec;
private String creator;
private String messagetypeid;
private String allow;
private String funmodelid;
// Constructors
/** default constructor */
public Userdefinedstrategy() {
}
/** minimal constructor */
public Userdefinedstrategy(String id, Functionalmodel functionalmodel) {
this.id = id;
this.functionalmodel = functionalmodel;
}
/** full constructor */
public Userdefinedstrategy(String id, Functionalmodel functionalmodel,
String strategyName, String strategyDec, String creator,
String messagetypeid, String allow, String funmodelid) {
this.id = id;
this.functionalmodel = functionalmodel;
this.strategyName = strategyName;
this.strategyDec = strategyDec;
this.creator = creator;
this.messagetypeid = messagetypeid;
this.allow = allow;
this.funmodelid = funmodelid;
}
// 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;
}
@ManyToOne(fetch = FetchType.LAZY)
@JoinColumn(name = "ID", unique = true, nullable = false, insertable = false, updatable = false)
public Functionalmodel getFunctionalmodel() {
return this.functionalmodel;
}
public void setFunctionalmodel(Functionalmodel functionalmodel) {
this.functionalmodel = functionalmodel;
}
@Column(name = "STRATEGY_NAME", length = 100)
public String getStrategyName() {
return this.strategyName;
}
public void setStrategyName(String strategyName) {
this.strategyName = strategyName;
}
@Column(name = "STRATEGY_DEC", length = 512)
public String getStrategyDec() {
return this.strategyDec;
}
public void setStrategyDec(String strategyDec) {
this.strategyDec = strategyDec;
}
@Column(name = "CREATOR", length = 50)
public String getCreator() {
return this.creator;
}
public void setCreator(String creator) {
this.creator = creator;
}
@Column(name = "MESSAGETYPEID", length = 1)
public String getMessagetypeid() {
return this.messagetypeid;
}
public void setMessagetypeid(String messagetypeid) {
this.messagetypeid = messagetypeid;
}
@Column(name = "ALLOW", length = 1)
public String getAllow() {
return this.allow;
}
public void setAllow(String allow) {
this.allow = allow;
}
@Column(name = "FUNMODELID", length = 100)
public String getFunmodelid() {
return this.funmodelid;
}
public void setFunmodelid(String funmodelid) {
this.funmodelid = funmodelid;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -