fixedassetparams.java

来自「一个很好的开源项目管理系统源代码」· Java 代码 · 共 59 行

JAVA
59
字号
package net.java.workeffort.params;import net.java.workeffort.service.domain.FixedAsset;import net.java.workeffort.service.domain.FixedAssetQuery;/** * @author Antony Joseph */public class FixedAssetParams {    public FixedAssetQuery testGetPageResultFixedAsset() {        FixedAssetQuery query = new FixedAssetQuery();        query.setFixedAssetCd("FXDASTPGRSLT");        query.setPageSize(new Integer(10));        query.setPageIndex(new Integer(0));        return query;    }    public String testGetFixedAsset() {        return ("FXDASTQRY");    }    public FixedAsset testInsertFixedAsset() {        FixedAsset input = new FixedAsset();        input.setFixedAssetCd("FXDASTINS");        input.setFixedAssetTypeCd("FXDAST");        input.setName("test");        return input;    }    public FixedAsset testUpdateFixedAsset() {        FixedAsset input = new FixedAsset();        input.setFixedAssetCd("FXDASTUPD");        input.setVersion(new Integer(1));        input.setFixedAssetTypeCd("FXDAST");        input.setName("test");        return input;    }    public FixedAsset testDeleteFixedAsset() {        FixedAsset input = new FixedAsset();        input.setFixedAssetCd("FXDASTDEL");        input.setVersion(new Integer(1));        return input;    }    public FixedAsset testUpdateFixedAssetOptLck() {        FixedAsset input = new FixedAsset();        input.setFixedAssetCd("FXDASTUPDOPTLCK");        input.setVersion(new Integer(5));        input.setFixedAssetTypeCd("FXDAST");        return input;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?