com.tthd.model.demo.TestTableModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of smart-orm Show documentation
Show all versions of smart-orm Show documentation
这是一个ORM模型组件,可快速实现SQL操作,目前支持mysql,NoSQL库目前支持Redis
package com.tthd.model.demo;
import com.iih5.smartorm.model.Model;
public class TestTableModel extends Model{
public TestTableModel(){
this.table="t_test_table";
}
public TestTableModel(Object cdtBean){
super(cdtBean);
this.table="t_test_table";
}
//
private java.lang.Long id;
//
private java.lang.String nickName;
//
private java.sql.Timestamp createTime;
//
private java.sql.Timestamp updateTime;
//
private java.sql.Date tmpTime;
//
private java.math.BigDecimal cash;
//
private java.lang.Float count;
//
private java.lang.Double totalCoin;
//
private java.lang.Integer type;
//
private java.sql.Time myTime;
//
private java.lang.Boolean boolPara;
//
private java.math.BigInteger biginterTt;
public void setId(java.lang.Long id) {
this.id = id;
}
public java.lang.Long getId() {
return id;
}
public void setNickName(java.lang.String nickName) {
this.nickName = nickName;
}
public java.lang.String getNickName() {
return nickName;
}
public void setCreateTime(java.sql.Timestamp createTime) {
this.createTime = createTime;
}
public java.sql.Timestamp getCreateTime() {
return createTime;
}
public void setUpdateTime(java.sql.Timestamp updateTime) {
this.updateTime = updateTime;
}
public java.sql.Timestamp getUpdateTime() {
return updateTime;
}
public void setTmpTime(java.sql.Date tmpTime) {
this.tmpTime = tmpTime;
}
public java.sql.Date getTmpTime() {
return tmpTime;
}
public void setCash(java.math.BigDecimal cash) {
this.cash = cash;
}
public java.math.BigDecimal getCash() {
return cash;
}
public void setCount(java.lang.Float count) {
this.count = count;
}
public java.lang.Float getCount() {
return count;
}
public void setTotalCoin(java.lang.Double totalCoin) {
this.totalCoin = totalCoin;
}
public java.lang.Double getTotalCoin() {
return totalCoin;
}
public void setType(java.lang.Integer type) {
this.type = type;
}
public java.lang.Integer getType() {
return type;
}
public void setMyTime(java.sql.Time myTime) {
this.myTime = myTime;
}
public java.sql.Time getMyTime() {
return myTime;
}
public void setBoolPara(java.lang.Boolean boolPara) {
this.boolPara = boolPara;
}
public java.lang.Boolean getBoolPara() {
return boolPara;
}
public void setBiginterTt(java.math.BigInteger biginterTt) {
this.biginterTt = biginterTt;
}
public java.math.BigInteger getBiginterTt() {
return biginterTt;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy