/**
* @Title: Users.java
* @Package org.entity
* @Description: TODO该方法的主要作用:
* @author A18ccms A18ccms_gmail_com
* @date 2017-10-5 下午6:53:06
* @version V1.0
*/
package org.entity;import java.util.Date;/**   *    * 项目名称:ssm_chop1   * 类名称:Users   * 类描述:   用户表的实体类* 创建人:Mu Xiongxiong  * 创建时间:2017-10-5 下午6:53:06   * 修改人:Mu Xiongxiong   * 修改时间:2017-10-5 下午6:53:06   * 修改备注:   * @version    *    */
public class Users {private Integer id;             //用户编号private String userCode;          //用户编码private String userName;      //用户名private String userPassword;   //密码private String gender;          //性别private Date birthday;          //生日private String phone;           //电话private String address;         //地址private Integer userrole;       //用户角色private Integer createBy;     //创建者private Date creationDate;     //创建时间private Integer modifyBy;     //更新者private Date modifyDate;       //更新时间private Role role;                //用户角色的对象public Integer getId() {return id;}public void setId(Integer id) {this.id = id;}public String getUserCode() {return userCode;}public void setUserCode(String userCode) {this.userCode = userCode;}public String getUserName() {return userName;}public void setUserName(String userName) {this.userName = userName;}public String getUserPassword() {return userPassword;}public void setUserPassword(String userPassword) {this.userPassword = userPassword;}public String getGender() {return gender;}public void setGender(String gender) {this.gender = gender;}public Date getBirthday() {return birthday;}public void setBirthday(Date birthday) {this.birthday = birthday;}public String getPhone() {return phone;}public void setPhone(String phone) {this.phone = phone;}public String getAddress() {return address;}public void setAddress(String address) {this.address = address;}public Integer getUserrole() {return userrole;}public void setUserrole(Integer userrole) {this.userrole = userrole;}public Integer getCreateBy() {return createBy;}public void setCreateBy(Integer createBy) {this.createBy = createBy;}public Date getCreationDate() {return creationDate;}public void setCreationDate(Date creationDate) {this.creationDate = creationDate;}public Integer getModifyBy() {return modifyBy;}public void setModifyBy(Integer modifyBy) {this.modifyBy = modifyBy;}public Date getModifyDate() {return modifyDate;}public void setModifyDate(Date modifyDate) {this.modifyDate = modifyDate;}public Users(Integer id, String userCode, String userName,String userPassword, String gender, Date birthday, String phone,String address, Integer userrole, Integer createBy,Date creationDate, Integer modifyBy, Date modifyDate) {super();this.id = id;this.userCode = userCode;this.userName = userName;this.userPassword = userPassword;this.gender = gender;this.birthday = birthday;this.phone = phone;this.address = address;this.userrole = userrole;this.createBy = createBy;this.creationDate = creationDate;this.modifyBy = modifyBy;this.modifyDate = modifyDate;}public Users() {super();}public Role getRole() {return role;}public void setRole(Role role) {this.role = role;}}

mybatis简单案例源码详细【注释全面】——实体层(User.java)相关推荐

  1. mybatis简单案例源码详细【注释全面】——前期准备

    mybatis 是个什么东西,这里就不必说了,大家去网上搜搜看就行了,在这里我主要是分享一下最基本的增删改查案例以及配置信息,测试信息. 首先我们创建个数据库: /* SQLyog 企业版 - MyS ...

  2. mybatis简单案例源码详细【注释全面】——Utils层(MybatisUtils.java)

    /** * @Title: MybatisUtils.java * @Package org.util * @Description: TODO该方法的主要作用: * @author A18ccms ...

  3. mybatis简单案例源码详细【注释全面】——Dao层映射文件(UserMapper.xml)【重要】

    <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE mapper PUBLIC "- ...

  4. mybatis简单案例源码详细【注释全面】——测试层(UserMapperTest.java)

    /** * @Title: UserMapperTest.java * @Package org.test * @Description: TODO该方法的主要作用: * @author A18ccm ...

  5. mybatis简单案例源码详细【注释全面】——Dao层接口(UserMapper.java)

    /** * @Title: IUserDao.java * @Package org.dao * @Description: TODO该方法的主要作用: * @author A18ccms A18cc ...

  6. mybatis简单案例源码详细【注释全面】——实体层(Role.java)

    package org.entity;import java.util.Date; /*** * * 项目名称:ssm_chop2 * 类名称:Role * 类描述: 角色表的实体类 * 创建人:Mu ...

  7. ExcelToHtmlTable转换算法:将Excel转换成Html表格并展示(项目源码+详细注释+项目截图)...

    功能概述 Excel2HtmlTable的主要功能就是把Excel的内容以表格的方式,展现在页面中. Excel的多个Sheet对应页面的多个Tab选项卡. 转换算法的难点在于,如何处理行列合并,将E ...

  8. 汇编实验 用表格形式显示字符(附源码详细注释和相关注意的知识)

    版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明. 本文链接:https://blog.csdn.net/qq_40774175/article/ ...

  9. 常用算法 之一 详解 MD5 实现(基于算法的官方原文档)及源码详细注释

    写在前面   在之前的工作中,用到了CRC16.MD5 和 SHA1 算法,主要用来校验下发的文件.网上关于这些算法的文章铺天盖地,以下内容仅仅是自己在学习时候的一个记录,一些套话来自于互联网.下面先 ...

最新文章

  1. 一季度手机出货量少了2800万部,有人要给「指条明路」
  2. Android ListViewview入门
  3. rocketmq 消费者不能调用其他服务_Spring Cloud Alibaba RocketMQ - 构建异步通信的微服务...
  4. 【 HDU - 1215 】七夕节(数论,约数和公式)
  5. 在某个时间段查找某连续出现问题
  6. css top 定位百分比,css 使用relative设置top为百分比值的方法(仿百度首页)
  7. linux 相关命令
  8. 2007年4月 [Update to 4.27]
  9. L1-026. I Love GPLT-PAT团体程序设计天梯赛GPLT
  10. python selenium自动化框架_一文讲透!实现一个Python+Selenium的自动化测试框架如此简单!...
  11. 风机风向玫瑰图原理!
  12. 这一切,只因心中有梦
  13. Java 调用ffmpeg 实现视频编辑
  14. 医疗器械软件网络安全相关
  15. 输入字体之间的间隔突然变大了
  16. 全球及中国数据中心服务器行业研究及十四五规划分析报告
  17. 数据库之十二星座 --- 双鱼座的复杂关系
  18. 技术分享 | 浅谈滴滴派单算法
  19. 吉林华微电子: 自主研发砥砺行 助力打造“中国芯”
  20. SDK Manager安装

热门文章

  1. 二分+最大化最小值 River Hopscotch POJ - 3258
  2. Division CodeForces - 1445C(数论因子相关)
  3. Strongly connected HDU - 4635(tarjan+强连通分量)
  4. android创建类的包名称,如何知道/配置Xamarin Android生成的程序包名...
  5. php常用linux命令httpd,Linux常用的100个命令
  6. python删除字符串中重复字符_从Python中删除字符串标点符号的最佳方法
  7. 蓝桥杯 数字三角形 贪心+动态规划
  8. RocketMq重试及消息不丢失机制
  9. POJ - 3734 Blocks 指数生成函数
  10. icpc网络赛第二场K Meal