package com.seer.teach.admin.request;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
@Schema(description = "修改书籍请求参数")
public class BooksUpdateReq {

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

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

    @Schema(description = "书籍作者")
    private String author;

    @Schema(description = "作者国籍")
    private String authorNationality;

    @Schema(description = "出版社")
    private String publisher;

    @Schema(description = "出版时间")
    private LocalDate publishDate;

    @Schema(description = "书籍简介")
    private String introduction;

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

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

    @Schema(description = "书籍价格")
    private BigDecimal price;

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