
com.tthd.model.demo.UserModel 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 UserModel extends Model{
public UserModel(){
this.table="t1_user";
}
public UserModel(Object cdtBean){
super(cdtBean);
this.table="t1_user";
}
//啊实打实大苏打
private java.lang.Integer id;
//
private java.lang.String name;
public void setId(java.lang.Integer id) {
this.id = id;
}
public java.lang.Integer getId() {
return id;
}
public void setName(java.lang.String name) {
this.name = name;
}
public java.lang.String getName() {
return name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy