operator.java

来自「这是中国移动的一个管理系统」· Java 代码 · 共 76 行

JAVA
76
字号
/* * To change this template, choose Tools | Templates * and open the template in the editor. */package com.mobile.mode;/** * * @author st */public class Operator {    private String id;    private String name;    private String pwd;    @Override    public boolean equals(Object obj) {        if (obj == null) {            return false;        }        if (getClass() != obj.getClass()) {            return false;        }        final Operator other = (Operator) obj;        if (this.name != other.name && (this.name == null || !this.name.equals(other.name))) {            return false;        }        if (this.pwd != other.pwd && (this.pwd == null || !this.pwd.equals(other.pwd))) {            return false;        }        return true;    }    @Override    public int hashCode() {        int hash = 5;        hash = 29 * hash + (this.name != null ? this.name.hashCode() : 0);        hash = 29 * hash + (this.pwd != null ? this.pwd.hashCode() : 0);        return hash;    }    public String getId() {        return id;    }    public void setId(String id) {        this.id = id;    }    public boolean isIsadmin() {        return isadmin;    }    public void setIsadmin(boolean isadmin) {        this.isadmin = isadmin;    }    public String getName() {        return name;    }    public void setName(String name) {        this.name = name;    }    public String getPwd() {        return pwd;    }    public void setPwd(String pwd) {        this.pwd = pwd;    }    private boolean isadmin;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?