📄 scenario.java
字号:
/**
* =============================================
* Copyright 2006 szmx
*
* Change Revision
* --------------------------------
* Date Author Remarks
* 2006-4-20 terry.zhang Create com.szmx.tlms.supplychain.model.ScenarioDAO
* =============================================
*/
package com.szmx.tlms.supplychain.model;
import com.szmx.framework.base.model.VersionObject;
import com.szmx.framework.util.StringUtil;
import java.util.Date;
import java.math.BigDecimal;
/**
* @author terry.zhang
* @since 2006-4-20
*/
/**
*
* table="TB_SCENARIO"
*
*/
public class Scenario extends VersionObject {
/** nullable persistent field */
private Date delTs;
/** nullable persistent field */
private String type;
/** nullable persistent field */
private String subType;
/** nullable persistent field */
private BigDecimal max;
/** nullable persistent field */
private BigDecimal min;
/**
*
* column="DEL_TS"
* length="23"
*
*/
public Date getDelTs() {
return this.delTs;
}
public void setDelTs(Date delTs) {
this.delTs = delTs;
}
/**
*
* column="TYPE"
* length="30"
*
*/
public String getType() {
return this.type;
}
public void setType(String type) {
this.type = type;
}
/**
*
* column="SUB_TYPE"
* length="30"
*
*/
public String getSubType() {
return this.subType;
}
public void setSubType(String subType) {
this.subType = subType;
}
/**
*
* column="MAX"
* length="9"
*
*/
public BigDecimal getMax() {
return this.max;
}
public void setMax(BigDecimal max) {
this.max = max;
}
/**
*
* column="MIN"
* length="9"
*
*/
public BigDecimal getMin() {
return this.min;
}
public void setMin(BigDecimal min) {
this.min = min;
}
public void check(){
if(!StringUtil.isNull(type)) this.type = type.trim();
if(!StringUtil.isNull(subType)) this.subType = subType.trim();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -