You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns= "http://www.springframework.org/schema/beans"
xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation= "http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd" >
<!-- 分工1: 班级Bean Setter属性注入 -->
<bean id= "classInfo" class= "com.ssm.di.xml.ClassEntity" >
<property name= "classId" value= "1" />
<property name= "className" value= "计算机25-12B班" />
<property name= "studentCount" value= "45" />
</bean>
<!-- 分工2: 课程Bean Setter属性注入 -->
<bean id= "score" class= "com.ssm.di.xml.Score" >
<property name= "scoreId" value= "001" />
<property name= "studentId" value= "2025001" />
<property name= "score" value= "95.5" />
</bean>
<bean id= "exam" class= "com.ssm.di.xml.Exam" >
<property name= "examId" value= "202604" />
<property name= "examName" value= "SpringDI期中考试" />
<property name= "examTime" value= "2026-04-18" />
</bean>
</beans>