创建Student类

创建Student类,该类中有stuname(String类型),stuno(Integer类型),listscore(List类型),

利用Annotation注解的方式创建Student对象,并测试。

定义一个类,autowire就行?

完整的怎么写,

public class Student {

	private String stuname;
	
	private Integer stuno;
	
	private List<Integer> listscore;

	public String getStuname() {
		return stuname;
	}

	public void setStuname(String stuname) {
		this.stuname = stuname;
	}

	public Integer getStuno() {
		return stuno;
	}

	public void setStuno(Integer stuno) {
		this.stuno = stuno;
	}

	public List<Integer> getListscore() {
		return listscore;
	}

	public void setListscore(List<Integer> listscore) {
		this.listscore = listscore;
	}
	
}

上面说的注解生成是说的这种吗?参考链接 https://blog.csdn.net/weixin_41908108/article/details/100597733