bookbean.java

来自「通过jsp,servlet,javaBean,三成架构实现的好友通讯录系统」· Java 代码 · 共 103 行

JAVA
103
字号
package com.entity;

public class BookBean {
    private int id;
    private String name;
    private String sex;
    private String phone;
    private String address;
    private String mobilePhone;
    private String company;
    private String comPhone;
    private String comAddress;
    private int relation;
    private int userId;
    public int getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getSex() {
        return sex;
    }

    public String getPhone() {
        return phone;
    }

    public String getAddress() {
        return address;
    }

    public String getMobilePhone() {
        return mobilePhone;
    }

    public String getCompany() {
        return company;
    }

    public String getComPhone() {
        return comPhone;
    }

    public String getComAddress() {
        return comAddress;
    }

    public int getRelation() {
        return relation;
    }

    public int getUserId() {
        return userId;
    }

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

    public void setName(String name) {
        this.name = name;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public void setComPhone(String comPhone) {
        this.comPhone = comPhone;
    }

    public void setComAddress(String comAddress) {
        this.comAddress = comAddress;
    }

    public void setRelation(int relation) {
        this.relation = relation;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
}

⌨️ 快捷键说明

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