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

import com.alibaba.fastjson2.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableLogic;
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 SchoolGradeMentor extends OurBaseEntity {

    /** 老师主键 */
    @NotNull(message = "级部教师不能为空")
    private Long teacherId;

    /** 年级级部主键 */
    private Long gradeId;

    /** 教师任职开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startTime;

    /** 教师任职结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

    /** 职务 */
    @NotBlank(message = "职务不能为空")
    private String teacherPost;
}
