⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scenario.java

📁 一个关于tlms的一个小程序 看看能否帮助到别人
💻 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 + -