安卓开发日记24

为我们的程序定义基本数据

package com.example.myexamproject.bean;


public class Student {

private String stuNumber;
private String stuName;
private String stuMajor;
private String stuPhone;
private String stuQq;
private String stuAddress;

public String getStuNumber() {
return stuNumber;
}

public void setStuNumber(String stuNumber) {
this.stuNumber = stuNumber;
}

public String getStuName() {
return stuName;
}

public void setStuName(String stuName) {
this.stuName = stuName;
}

public String getStuMajor() {
return stuMajor;
}

public void setStuMajor(String stuMajor) {
this.stuMajor = stuMajor;
}

public String getStuPhone() {
return stuPhone;
}

public void setStuPhone(String stuPhone) {
this.stuPhone = stuPhone;
}

public String getStuQq() {
return stuQq;
}

public void setStuQq(String stuQq) {
this.stuQq = stuQq;
}

public String getStuAddress() {
return stuAddress;
}

public void setStuAddress(String stuAddress) {
this.stuAddress = stuAddress;
}
}
posted @ 2024-05-01 14:06  大虚胖子  阅读(2)  评论(0编辑  收藏  举报