(七) Spring學習總結
package com.xxx.pojo;/**
* @author shkstart
* @create 2021-06-11 17:45
*/
import java.util.*;
/**
*@program: Spring_study
*@description:
*@author: XieXianXin
*@create: 2021-06-11 17:45
*/
public class Student {
private String name;
private Book book;
private String[] course;
private List<String> hobbies;
private Map<String,String> card;
private Set<String> fruit;
private String marriage;
private Properties info;
public Student() {
}
public Student(String name, Book book, String[] course, List<String> hobbies, Map<String, String> card, Set<String> fruit, String marriage, Properties info) {
this.name = name;
this.book = book;
this.course = course;
this.hobbies = hobbies;
this.card = card;
this.fruit = fruit;
this.marriage = marriage;
this.info = info;
}
@Override
public String toString() {
return "Student{" +
"name='" + name + '\'' +
", book=" + book +
", course=" + 外匯跟單gendan5.comArrays.toString(course) +
", hobbies=" + hobbies +
", card=" + card +
", fruit=" + fruit +
", marriage='" + marriage + '\'' +
", info=" + info +
'}';
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Book getBook() {
return book;
}
public void setBook(Book book) {
this.book = book;
}
public String[] getCourse() {
return course;
}
public void setCourse(String[] course) {
this.course = course;
}
public List<String> getHobbies() {
return hobbies;
}
public void setHobbies(List<String> hobbies) {
this.hobbies = hobbies;
}
public Map<String, String> getCard() {
return card;
}
public void setCard(Map<String, String> card) {
this.card = card;
}
public Set<String> getFruit() {
return fruit;
}
public void setFruit(Set<String> fruit) {
this.fruit = fruit;
}
public String getMarriage() {
return marriage;
}
public void setMarriage(String marriage) {
this.marriage = marriage;
}
public Properties getInfo() {
return info;
}
public void setInfo(Properties info) {
this.info = info;
}
}
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69946337/viewspace-2777394/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Spring Cloud學習總結(一)SpringCloud
- Spring Boot + JPA學習總結Spring Boot
- ❀ Spring5學習大總結Spring
- 慕課網《探秘Spring AOP》學習總結Spring
- 20165234 《Java程式設計》第七週學習總結Java程式設計
- 自學Java第七週總結Java
- 學習總結
- 20234105 2024- 8- 17暑期第七週學習總結
- 學習Tomcat(七)之Spring內嵌TomcatTomcatSpring
- InnoDB學習(七)之索引結構索引
- ConstraintLayout 學習總結AI
- BOM學習總結
- tkinter學習總結
- vue學習總結Vue
- HSF學習總結
- ElasticSearch 學習總結Elasticsearch
- Storm學習總結ORM
- vue 學習總結Vue
- lua 學習總結
- Angularjs 學習總結AngularJS
- WebRTC學習總結Web
- GCD 學習總結GC
- CompletableFuture學習總結
- awk 學習總結
- MyBatis 學習總結MyBatis
- Maven學習總結Maven
- Ajax學習總結
- JVM學習總結JVM
- mysqlimport學習總結MySqlImport
- WorkFlow學習總結
- JNI 學習總結
- SVG學習總結SVG
- HTML學習總結HTML
- Mybatis學習總結MyBatis
- JavaWeb學習總結JavaWeb
- KUDU學習總結
- pandas 學習總結
- fetch學習總結