package com.lesingle.edu.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 资源库实体
 */
@Schema(description = "资源库实体")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("resource_library")
public class ResourceLibrary extends BaseEntity {

    @Schema(description = "租户 ID")
    private String tenantId;

    @Schema(description = "资源库名称")
    private String name;

    @Schema(description = "资源库描述")
    private String description;

    @Schema(description = "资源库类型 (PICTURE_BOOK/MATERIAL/TEMPLATE)")
    private String libraryType;

    @Schema(description = "封面图片 URL")
    private String coverImage;

    @Schema(description = "创建人 ID")
    private Long createdBy;

    @Schema(description = "状态")
    private String status;

    @Schema(description = "排序号")
    private Integer sortOrder;

}
