美文网首页
User的实体类(JavaBean)

User的实体类(JavaBean)

作者: Joy_yang17 | 来源:发表于2018-05-22 19:53 被阅读5次

    package com.nsu.bean;

    public class User {
    private int id;
    public int getId() {
    return id;
    }
    public void setId(int id) {
    this.id = id;
    }
    public String getName() {
    return name;
    }
    public void setName(String name) {
    this.name = name;
    }
    public String getSex() {
    return sex;
    }
    public void setSex(String sex) {
    this.sex = sex;
    }
    public String getPwd() {
    return pwd;
    }
    public void setPwd(String pwd) {
    this.pwd = pwd;
    }
    private String name;
    private String sex;
    private String pwd;

    }

    相关文章

      网友评论

          本文标题:User的实体类(JavaBean)

          本文链接:https://www.haomeiwen.com/subject/zqmkjftx.html