package yangtz.cs.liu.campus.domain.student;

import com.core.domain.OurBaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class SchoolStudentClassRelation extends OurBaseEntity {

    /** school_class表id */
    @Excel(name = "班级表id")
    @NotNull(message = "班级id不能为空")
    private Long classId;

    /** student表id */
    @Excel(name = "student表id")
    @NotNull(message = "学生id不能为空")
    private Long studentId;
}
