package com.seer.teach.admin.response;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
@Schema(description = "年级科目列表返回实体类")
public class BooksListResp {

    @Schema(description = "Id")
    private Integer id;

    @Schema(description = "书籍名称")
    private String title;

    @Schema(description = "上架时间")
    private LocalDateTime shelfTime;

    @Schema(description = "是否免费，0：免费，1：不免费")
    private Integer isFree;

    @Schema(description = "是否上下架，0：下架，1：上架")
    private Integer status;

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

}
