package top.awin_x.learn.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 这是课程信息的封装类
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class CourseInfo {
    private int id; //id为-1时表示当前内容尚未进入数据库，没有id
    private String name;
    private int type;
    private float credit;
    private int grade;
    private int major;
    private String detail;
}