服务外包杯团队进度

发布时间 2023-04-07 21:48:18作者: 庞司令

后端部分实体类:

package com.wedu.springboot.entity;
 
public class Student {
 
    private Integer id;
    private String mobile;
    private String userName;
 
    public Student() {
        super();
    }
 
    public Student(String mobile, String userName) {
        super();
        this.mobile = mobile;
        this.userName = userName;
    }
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public String getMobile() {
        return mobile;
    }
 
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
 
    public String getUserName() {
        return userName;
    }
 
    public void setUserName(String userName) {
        this.userName = userName;
    }
 
    @Override
    public String toString() {
        return "Student [id=" + id + ", mobile=" + mobile + ", userName=" + userName + "]";
    }
}