?? presystemstrategy.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;
/**
* Presystemstrategy entity. @author MyEclipse Persistence Tools
*/
@Entity
@Table(name = "PRESYSTEMSTRATEGY", schema = "MESSAGE")
public class Presystemstrategy implements java.io.Serializable {
// Fields
private String id;
private Functionalmodel functionalmodel;
private String appStrategyName;
private String appStrategyDec;
private String sendtype;
private String funmodelid;
// Constructors
/** default constructor */
public Presystemstrategy() {
}
/** minimal constructor */
public Presystemstrategy(String id, Functionalmodel functionalmodel) {
this.id = id;
this.functionalmodel = functionalmodel;
}
/** full constructor */
public Presystemstrategy(String id, Functionalmodel functionalmodel,
String appStrategyName, String appStrategyDec, String sendtype,
String funmodelid) {
this.id = id;
this.functionalmodel = functionalmodel;
this.appStrategyName = appStrategyName;
this.appStrategyDec = appStrategyDec;
this.sendtype = sendtype;
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 = "APP_STRATEGY_NAME", length = 50)
public String getAppStrategyName() {
return this.appStrategyName;
}
public void setAppStrategyName(String appStrategyName) {
this.appStrategyName = appStrategyName;
}
@Column(name = "APP_STRATEGY_DEC", length = 512)
public String getAppStrategyDec() {
return this.appStrategyDec;
}
public void setAppStrategyDec(String appStrategyDec) {
this.appStrategyDec = appStrategyDec;
}
@Column(name = "SENDTYPE", length = 1)
public String getSendtype() {
return this.sendtype;
}
public void setSendtype(String sendtype) {
this.sendtype = sendtype;
}
@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 + -