Admin.java
资源名称:shihua.rar [点击查看]
上传用户:zghglow
上传日期:2022-08-09
资源大小:27227k
文件大小:2k
源码类别:
WEB源码(ASP,PHP,...)
开发平台:
JavaScript
- package com.chinacannel.entity;
- import java.io.*;
- import java.util.*;
- import org.apache.commons.lang.builder.*;
- public class Admin implements Serializable {
- private static final long serialVersionUID = 1;
- private Long adm_ID;
- private String adm_Name;
- private String adm_Pwd;
- private Role role;
- private Date adm_Time;
- public boolean equals(Object other) {
- if (!(other instanceof Admin))
- return false;
- Admin castOther = (Admin) other;
- return new EqualsBuilder()
- .append(this.getAdm_ID(), castOther.getAdm_ID())
- .isEquals();
- }
- public int hashCode() {
- return new HashCodeBuilder()
- .append(getAdm_ID())
- .toHashCode();
- }
- public Long getAdm_ID() {
- return adm_ID;
- }
- public String getAdm_Name() {
- return adm_Name;
- }
- public String getAdm_Pwd() {
- return adm_Pwd;
- }
- public Role getRole() {
- return role;
- }
- public Date getAdm_Time() {
- return adm_Time;
- }
- public void setAdm_ID(Long adm_ID) {
- this.adm_ID = adm_ID;
- }
- public void setAdm_Name(String adm_Name) {
- this.adm_Name = adm_Name;
- }
- public void setAdm_Pwd(String adm_Pwd) {
- this.adm_Pwd = adm_Pwd;
- }
- public void setRole(Role role) {
- this.role = role;
- }
- public void setAdm_Time(Date adm_Time) {
- this.adm_Time = adm_Time;
- }
- }