StudentCourseMappingDO.java 1000 Bytes
package com.meishu.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.meishu.util.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author Tuyp
 * @since 2021-05-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("student_course_mapping")
public class StudentCourseMappingDO extends BaseModel {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 学生id
     */
    private Long studentId;

    /**
     * 课程id
     */
    private Long courseId;

    /**
     * 起始时间
     */
    private String startDate;

    /**
     * 截止时间
     */
    private String endDate;

    /**
     * 0:已暂停  1:已启用
     */
    private String status;

    /**
     * 授权人
     */
    private Long administerId;


}