package com.ccu.smbms.domain;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
/**
*
* @TableName smbms_user
*/
public class SmbmsUser implements Serializable {
/**
* 主键ID
*/
private Long id;
/**
* 用户编码
*/
private String userCode;
/**
* 用户名称
*/
private String userName;
/**
* 用户密码
*/
private String userPassword;
/**
* 性别(1:女、 2:男)
*/
private Integer gender;
/**
* 出生日期
*/
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date birthday;
/**
* 手机
*/
private String phone;
/**
* 地址
*/
private String address;
/**
* 用户角色(取自角色表-角色id)
*/
private Integer userRole;
/**
* 创建者(userId)
*/
private Long createdBy;
/**
* 创建时间
*/
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date creationDate;
/**
* 更新者(userId)
*/
private Long modifyBy;
/**
* 更新时间
*/
@DateTimeFormat(pattern = "yyyy-MM-dd")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date modifyDate;
/**
* 角色
*/
private String roleName;
private static final long serialVersionUID = 1L;
/**
* 主键ID
*/
public Long getId() {
return id;
}
/**
* 主键ID
*/
public void setId(Long 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;
}
/**
* 性别(1:女、 2:男)
*/
public Integer getGender() {
return gender;
}
/**
* 性别(1:女、 2:男)
*/
public void setGender(Integer 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;
}
/**
* 用户角色(取自角色表-角色id)
*/
public Integer getUserRole() {
return userRole;
}
/**
* 用户角色(取自角色表-角色id)
*/
public void setUserRole(Integer userRole) {
this.userRole = userRole;
}
/**
* 创建者(userId)
*/
public Long getCreatedBy() {
return createdBy;
}
/**
* 创建者(userId)
*/
public void setCreatedBy(Long createdBy) {
this.createdBy = createdBy;
}
/**
* 创建时间
*/
public Date getCreationDate() {
return creationDate;
}
/**
* 创建时间
*/
public void setCreationDate(Date creationDate) {
this.creationDate = creationDate;
}
/**
* 更新者(userId)
*/
public Long getModifyBy() {
return modifyBy;
}
/**
* 更新者(userId)
*/
public void setModifyBy(Long modifyBy) {
this.modifyBy = modifyBy;
}
/**
* 更新时间
*/
public Date getModifyDate() {
return modifyDate;
}
/**
* 更新时间
*/
public void setModifyDate(Date modifyDate) {
this.modifyDate = modifyDate;
}
public String getRoleName() {
return roleName;
}
public void setRoleName(String roleName) {
this.roleName = roleName;
}
@Override
public boolean equals(Object that) {
if (this == that) {
return true;
}
if (that == null) {
return false;
}
if (getClass() != that.getClass()) {
return false;
}
SmbmsUser other = (SmbmsUser) that;
return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
&& (this.getUserCode() == null ? other.getUserCode() == null : this.getUserCode().equals(other.getUserCode()))
&& (this.getUserName() == null ? other.getUserName() == null : this.getUserName().equals(other.getUserName()))
&& (this.getUserPassword() == null ? other.getUserPassword() == null : this.getUserPassword().equals(other.getUserPassword()))
&& (this.getGender() == null ? other.getGender() == null : this.getGender().equals(other.getGender()))
&& (this.getBirthday() == null ? other.getBirthday() == null : this.getBirthday().equals(other.getBirthday()))
&& (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone()))
&& (this.getAddress() == null ? other.getAddress() == null : this.getAddress().equals(other.getAddress()))
&& (this.getUserRole() == null ? other.getUserRole() == null : this.getUserRole().equals(other.getUserRole()))
&& (this.getCreatedBy() == null ? other.getCreatedBy() == null : this.getCreatedBy().equals(other.getCreatedBy()))
&& (this.getCreationDate() == null ? other.getCreationDate() == null : this.getCreationDate().equals(other.getCreationDate()))
&& (this.getModifyBy() == null ? other.getModifyBy() == null : this.getModifyBy().equals(other.getModifyBy()))
&& (this.getModifyDate() == null ? other.getModifyDate() == null : this.getModifyDate().equals(other.getModifyDate()));
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
result = prime * result + ((getUserCode() == null) ? 0 : getUserCode().hashCode());
result = prime * result + ((getUserName() == null) ? 0 : getUserName().hashCode());
result = prime * result + ((getUserPassword() == null) ? 0 : getUserPassword().hashCode());
result = prime * result + ((getGender() == null) ? 0 : getGender().hashCode());
result = prime * result + ((getBirthday() == null) ? 0 : getBirthday().hashCode());
result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode());
result = prime * result + ((getAddress() == null) ? 0 : getAddress().hashCode());
result = prime * result + ((getUserRole() == null) ? 0 : getUserRole().hashCode());
result = prime * result + ((getCreatedBy() == null) ? 0 : getCreat
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
基于SSM的超市订单管理系统,java项目。 eclipse和idea都能打开运行。 推荐环境配置:eclipse/idea jdk1.8 maven mysql 前端技术:Layui,Ajax,Json,html 后端技术:Spring,MyBatis,SpringMVC 本系统共分为两个角色:管理员和用户。 主要功能有: 登录、用户管理、地址管理、订单管理、供应商管理、角色管理。 提供远程调试、代码讲解服务 更多精品项目,请查看主页
资源推荐
资源详情
资源评论
收起资源包目录
基于Spring、SpringMVC、Mybatis的超市管理系统 (894个子文件)
$CACHE_FILE$ 3KB
BillController.class 7KB
BillController.class 7KB
SmbmsUser.class 6KB
SmbmsUser.class 6KB
SmbmsBill.class 6KB
SmbmsBill.class 6KB
SmbmsProvider.class 5KB
SmbmsProvider.class 5KB
SmbmsAddress.class 5KB
SmbmsAddress.class 5KB
RoleController.class 4KB
RoleController.class 4KB
UserController.class 4KB
UserController.class 4KB
AddressController.class 4KB
AddressController.class 4KB
ProviderController.class 4KB
ProviderController.class 4KB
SmbmsRole.class 4KB
SmbmsRole.class 4KB
AuthController.class 2KB
AuthController.class 2KB
SmbmsBillServiceImpl.class 2KB
SmbmsBillServiceImpl.class 2KB
SmbmsProviderServiceImpl.class 2KB
SmbmsProviderServiceImpl.class 2KB
SmbmsAddressServiceImpl.class 2KB
SmbmsAddressServiceImpl.class 2KB
SmbmsRoleServiceImpl.class 2KB
SmbmsRoleServiceImpl.class 2KB
SmbmsUserServiceImpl.class 1KB
SmbmsUserServiceImpl.class 1KB
MvcConfig.class 1KB
MvcConfig.class 1KB
LoginInterceptor.class 1KB
LoginInterceptor.class 1KB
IndexController.class 893B
IndexController.class 893B
SmbmsProviderMapper.class 655B
SmbmsProviderMapper.class 655B
SmbmsRoleMapper.class 603B
SmbmsRoleMapper.class 603B
SmbmsProviderService.class 598B
SmbmsProviderService.class 598B
SmbmsBillService.class 593B
SmbmsBillService.class 593B
SmbmsBillMapper.class 590B
SmbmsBillMapper.class 590B
SmbmsAddressService.class 576B
SmbmsAddressService.class 576B
SmbmsAddressMapper.class 573B
SmbmsAddressMapper.class 573B
SmbmsUserService.class 550B
SmbmsRoleService.class 550B
SmbmsUserService.class 550B
SmbmsRoleService.class 550B
SmbmsUserMapper.class 547B
SmbmsUserMapper.class 547B
config 297B
style.css 146KB
style.css 146KB
style.css 146KB
style.css 146KB
bootstrap.min.css 138KB
bootstrap.min.css 138KB
bootstrap.min.css 138KB
bootstrap.min.css 138KB
icofont.min.css 90KB
icofont.min.css 90KB
icofont.min.css 90KB
icofont.min.css 90KB
font-awesome.min.css 58KB
font-awesome.min.css 58KB
font-awesome.min.css 57KB
font-awesome.min.css 57KB
range.css 37KB
range.css 37KB
range.css 36KB
range.css 36KB
swiper.min.css 19KB
swiper.min.css 19KB
swiper.min.css 19KB
swiper.min.css 19KB
datatables.css 17KB
datatables.css 17KB
datatables.css 16KB
datatables.css 16KB
fonts.css 11KB
fonts.css 11KB
fonts.css 10KB
fonts.css 10KB
css2.css 10KB
css2.css 10KB
auth.css 9KB
auth.css 9KB
auth.css 9KB
auth.css 9KB
nice-select.css 3KB
nice-select.css 3KB
共 894 条
- 1
- 2
- 3
- 4
- 5
- 6
- 9
资源评论
超级无敌暴龙战士塔塔开
- 粉丝: 4503
- 资源: 136
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- python开心麻花影视作品分析程序+源码.zip
- pythonExcel数据分析师程序+源码.zip
- PlatformUI.jar 支持RCP控件环境插件
- VB+ACCESS大型机房学生上机管理系统(源代码+系统).zip
- 基于BP神经网络的回归分析,基于优化动量因子的BP神经网络,基于优化学习率的BP神经网络,基于优化隐藏层神经元的bp神经网络
- python读取excel数据Python-file-reading-master.zip
- STC15单片机串口2使用程序例子
- 读取日志的excel生成周报 用python3开发weekplan-master.zip
- python 读取excel数据导入dbimport-data-master.zip
- K折交叉验证BP神经网络,多输入多输出BP神经网络(代码完整,数据齐全)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功