zoukankan      html  css  js  c++  java
  • java面向对象高级分层实例_实体类

    package bdqn.studentSys.entity;
    /**
     * 学生实体类
     * @author Administrator
     *
     */
    public class Student {
    	private String name;//姓名
    	private String pwd;//密码
    	private int age;//年龄
    	private int stuno;
    	public int getStuno() {
    		return stuno;
    	}
    	public void setStuno(int stuno) {
    		this.stuno = stuno;
    	}
    	private String sex;//性别
    	
    	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;
    	}
    	public int getAge() {
    		return age;
    	}
    	public void setAge(int age) {
    		this.age = age;
    	}
    	public String getSex() {
    		return sex;
    	}
    	public void setSex(String sex) {
    		this.sex = sex;
    	}
    }
    

  • 相关阅读:
    Spring aop 实现异常拦截
    drf 视图家族
    算法与数据结构
    接口
    Kubernetes
    drf
    drf 序列化
    drf 内部模块
    drf 接口
    vue
  • 原文地址:https://www.cnblogs.com/a1111/p/12816604.html
Copyright © 2011-2022 走看看