package com.xunmei.common.core.domain.edu.dto;

import com.xunmei.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author jingyuanchao
 * @date 2023/8/22 11:09
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class SysLearningMaterialsPageDto extends BaseEntity {
    @ApiModelProperty(value = "资料类型(知识库标签)")
    private Long knowledgeId;
    @ApiModelProperty(value = "公开状态,0:未公开,1:已公开")
    private Integer isOpen;
    @ApiModelProperty(value = "资料标题")
    private String title;
    @ApiModelProperty(value = "资料标题")
    private Long orgId;

    @ApiModelProperty(value = "上级机构id集合",notes = "学习资料分页列表默认查询上级机构且公开的数据,此字段无需传递,后端自行获取")
    private List<Long> orgIdList;

    @ApiModelProperty(value = "当前用户id",notes = "此字段无需传递,后端自行获取")
    private Long userId;
}
