(七) 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 hobbies;

     private Map card;

     private Set fruit;

     private String marriage;

     private Properties info;

     public Student() {

     }

     public Student(String name, Book book, String[] course, List hobbies, Map card, Set 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 getHobbies() {

         return hobbies;

     }

     public void setHobbies(List hobbies) {

         this.hobbies = hobbies;

     }

     public Map getCard() {

         return card;

     }

     public void setCard(Map card) {

         this.card = card;

     }

     public Set getFruit() {

         return fruit;

     }

     public void setFruit(Set 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;

     }

}


请使用浏览器的分享功能分享到微信等