package com.xhkjedu.sstudy.model.resource;

import com.xhkjedu.model.BaseBean;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;

/**
 * @ClassName TGuide
 * Description TODO 学生预习
 * Author WN
 * Date 2021/10/20 10:04
 **/
@Table(name = "t_guide")
@Data
public class TGuide extends BaseBean {
    @Id
    private Integer guideid;//预习表id

    private String guidename;//预习名称

    private String subjectid;//科目id

    private String lsbid;//教材id

    private String directorid;//章节id

    private String comm;//预习要求

    private Integer createid;//创建人id

    private Integer createtime;//创建时间

    private Integer schoolid;//学校id

    private Integer hashb;//是否有伙伴学校：0没有1有

    //发布学年
    private Integer year;

    @Transient
    private Integer studentid;//学生id

    @Transient
    private String resourceid;//资源id

    @Transient
    private Integer costtime;//是否查看1未查看2已查看

    @Transient
    private String classids;//权限班级id字符串

    @Transient
    private String bxclassids;//本校权限班级id字符串

    @Transient
    private List<Map> jtrclist = new ArrayList<>();//集团校班级

    @Transient
    private List<TResource> resources = new ArrayList<>();//包含的资源

    @Transient
    private List<TGuideGroup> guideGroups = new ArrayList<>();//学生预习

    @Transient
    private Integer classid;//班级id

    @Transient
    private Integer directorLeaf;//章节是否是叶子节点0不是1是
    @Transient
    private String directorall;//所有层章节拼接


}
