首页>代码>SpringMvc整合Mybatis搭建java Web入门项目实例,是基于MAVEN的java web工程>/oldbuy/src/main/java/com/tonfay/oldbuy/domain/po/OldbuyUsers.java
package com.tonfay.oldbuy.domain.po;

import java.io.Serializable;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
* OldbuyUsers
* table:oldbuy_users
* 
* @author tonfay
* @version v1.0
* @copy tonfay
* @date 2015-02-12 16:02:49
*/
public class OldbuyUsers implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;

    private String username;

    private String userpassword;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    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;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        OldbuyUsers other = (OldbuyUsers) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getUsername() == null ? other.getUsername() == null : this.getUsername().equals(other.getUsername()))
            && (this.getUserpassword() == null ? other.getUserpassword() == null : this.getUserpassword().equals(other.getUserpassword()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getUsername() == null) ? 0 : getUsername().hashCode());
        result = prime * result + ((getUserpassword() == null) ? 0 : getUserpassword().hashCode());
        return result;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
    }
}
最近下载更多
lvhongquan  LV11 2022年7月10日
15827485252  LV19 2021年8月4日
upupup  LV5 2021年6月11日
liuwenlong  LV20 2019年12月21日
陆信乾  LV6 2019年8月30日
xiaobaitud  LV13 2019年4月22日
wuzhenxi  LV7 2019年2月10日
wgtgt  LV24 2018年2月2日
ly3812  LV17 2017年11月1日
youyang837  LV2 2017年10月16日
最近浏览更多
azaniya 2023年11月21日
暂无贡献等级
2237851964  LV1 2023年2月26日
YUProject  LV8 2022年12月17日
1234hw  LV3 2022年11月20日
18394082755  LV3 2022年11月4日
5212991314 2022年10月26日
暂无贡献等级
789521  LV1 2022年10月26日
invictuslee  LV4 2022年10月16日
love8309287  LV4 2022年9月2日
lvhongquan  LV11 2022年7月10日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友