package cn.iocoder.yudao.module.server.controller.admin.materialinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 资料库新增/修改 Request VO")
@Data
public class MaterialInfoSaveReqVO {

    @Schema(description = "资料ID")
    private Long id;

    @Schema(description = "分类ID")
    private Long categoryId;

    @Schema(description = "分类名称")
    private String categoryName;

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

    @Schema(description = "资料介绍", example = "你猜")
    private String description;

    @Schema(description = "失效日期")
    private LocalDateTime expireTime;

    @Schema(description = "生效日期")
    private LocalDateTime startTime;

    @Schema(description = "开启过期提醒")
    private Boolean remind;

    @Schema(description = "提前提醒天数")
    private Integer dayleft;

    @Schema(description = "共享类型")
    private Integer shareType;

    @Schema(description = "下载次数", example = "21516")
    private Integer downloadCount;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "备注信息", example = "你说的对")
    private String reportRemark;

    @Schema(description = "附件名称")
    private String attachment;

    @Schema(description = "部门ID", example = "31665")
    private Long departmentId;

    @Schema(description = "部门/盟市")
    private String departmentName;

}