首页>代码>springMVC3.2+Hibernate4+freemarker入门简单小例子,适合初学者>/springMVC_Hibernate_freemarker/src/com/xxx/core/entity/User.java
package com.xxx.core.entity; import javax.persistence.Entity; import javax.persistence.GeneratedValue; import javax.persistence.Id; import javax.persistence.Table; @Entity @Table(name="t_user") public class User { @Id @GeneratedValue private int id; private String username; private String password; public int getId() { return id; } public void setId(int id) { this.id = id; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public String getPassword() { return password; } public void setPassword(String password) { this.password = password; } }

G0GO LV1
2021年4月14日
583062742 LV1
2020年9月5日
1121323395 LV1
2019年11月29日
z924931408 LV25
2019年3月13日
源灵主 LV1
2018年11月15日
zhouzhihong LV2
2018年10月18日
yahuszu LV1
2018年8月30日
zimi1054367550 LV1
2018年7月25日
13982641004 LV1
2018年6月29日
yaob1985 LV8
2018年6月18日