📄 tb_product.java
字号:
/*
* Copyright (c) 2008-2010 Tanming1003 Inc.
* All rights reserved.
*
* tanming1003<tanming1003@163.com>
*
*
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of tanming1003 nor the names of its contributors
* may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
* FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
* BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
* STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*/
package hunnu.edu.cn.product.common.db.model;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import oracle.sql.TIMESTAMP;
/**
* @author tanming1003@163.com
* @date 2008-10-16
* @time 上午11:00:05
* @project_name Product
* @package_name hunnu.edu.cn.product.common.db.model
* @file_name TB_PRODUCT.java
* @version 1.0
*/
public class TB_PRODUCT extends Table
{
// 作品ID PRO_ID NUMERIC(6,0) TRUE FALSE FALSE 自动采番
// 作品名 PRO_NAME NVARCHAR2(60) FALSE FALSE FALSE
// 作品审查状态 PRO_FLG CHAR(1) FALSE FALSE FALSE 0:未审查 1:审查通过 2:审查未通过
// 审查时间 CHK_YMD CHAR(8) FALSE FALSE TRUE 审查时间:YYYYMMDD
// 审查者 CHK_USER_ID NUMERIC(6,0) FALSE FALSE TRUE 审查者
// 入库时间 IN_YMD CHAR(8) FALSE FALSE FALSE 上传时间:YYYYMMDD
// 录入者 IN_USER_ID NUMERIC(6,0) FALSE FALSE FALSE 上传者
// 作品概要 PRO_COMNT NVARCHAR2(1000) FALSE FALSE TRUE 功能/接口的简单描述,不得超过500字符
// 作品详细 PRO_INF NCLOB FALSE FALSE TRUE 功能/接口的详细描述
// 更新者ID UPD_USER_ID NUMERIC(6,0) FALSE FALSE TRUE
// 更新年月日時分秒 UPD_YMDHMS TIMESTAMP FALSE FALSE TRUE
private BigDecimal pro_id;
private String pro_name;
private String pro_flg;
private String chk_ymd;
private BigDecimal chk_user_id;
private String in_ymd;
private BigDecimal in_user_id;
private String pro_comnt;
private String pro_inf;
private BigDecimal upd_user_id;
/**
* @return the upd_user_id
*/
public BigDecimal getUpd_user_id()
{
return upd_user_id;
}
/**
* @param upd_user_id the upd_user_id to set
*/
public void setUpd_user_id(int upd_user_id)
{
this.upd_user_id = new BigDecimal(upd_user_id);
}
private TIMESTAMP upd_ymdhms;
/**
* @return the pro_id
*/
public BigDecimal getPro_id()
{
return pro_id;
}
/**
* @param pro_id the pro_id to set
*/
public void setPro_id(int pro_id)
{
this.pro_id = new BigDecimal(pro_id);
}
/**
* @return the pro_name
*/
public String getPro_name()
{
return pro_name;
}
/**
* @param pro_name the pro_name to set
*/
public void setPro_name(String pro_name)
{
this.pro_name = pro_name;
}
/**
* @return the pro_flg
*/
public String getPro_flg()
{
return pro_flg;
}
/**
* @param pro_flg the pro_flg to set
*/
public void setPro_flg(String pro_flg)
{
this.pro_flg = pro_flg;
}
/**
* @return the chk_ymd
*/
public String getChk_ymd()
{
return chk_ymd;
}
/**
* @param chk_ymd the chk_ymd to set
*/
public void setChk_ymd(String chk_ymd)
{
this.chk_ymd = chk_ymd;
}
/**
* @return the chk_user_id
*/
public BigDecimal getChk_user_id()
{
return chk_user_id;
}
/**
* @param chk_user_id the chk_user_id to set
*/
public void setChk_user_id(int chk_user_id)
{
this.chk_user_id = new BigDecimal(chk_user_id);
}
/**
* @return the in_ymd
*/
public String getIn_ymd()
{
return in_ymd;
}
/**
* @param in_ymd the in_ymd to set
*/
public void setIn_ymd(String in_ymd)
{
this.in_ymd = in_ymd;
}
/**
* @return the in_user_id
*/
public BigDecimal getIn_user_id()
{
return in_user_id;
}
/**
* @param in_user_id the in_user_id to set
*/
public void setIn_user_id(int in_user_id)
{
this.in_user_id = new BigDecimal(in_user_id);
}
/**
* @return the pro_comnt
*/
public String getPro_comnt()
{
return pro_comnt;
}
/**
* @param pro_comnt the pro_comnt to set
*/
public void setPro_comnt(String pro_comnt)
{
this.pro_comnt = pro_comnt;
}
/**
* @return the pro_inf
*/
public String getPro_inf()
{
return pro_inf;
}
/**
* @param pro_inf the pro_inf to set
*/
public void setPro_inf(String pro_inf)
{
this.pro_inf = pro_inf;
}
/**
* @return the upd_ymdhms
*/
public TIMESTAMP getUpd_ymdhms()
{
return upd_ymdhms;
}
/**
* @param upd_ymdhms the upd_ymdhms to set
*/
public void setUpd_ymdhms(Timestamp upd_ymdhms)
{
this.upd_ymdhms = new TIMESTAMP(upd_ymdhms);
}
/**
* @function implements the unimplemented method which inherited from the super class
*/
public void setKeys()
{
keys=new ArrayList<Map<String,Object>>();
Map<String,Object> map=new HashMap<String,Object>();
int id=0;
map.put("pro_id",new BigDecimal(id));
keys.add(map);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -