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

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

import javax.validation.constraints.*;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 访谈稿新增/修改 Request VO")
@Data
public class InterviewArticleSaveReqVO {

    @Schema(description = "访谈稿ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15139")
    private Long id;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "标题不能为空")
    private String title;

    @Schema(description = "访谈描述", example = "随便")
    private String description;

    @Schema(description = "上传时间", requiredMode = Schema.RequiredMode.REQUIRED)
    /*@NotNull(message = "上传时间不能为空")*/
    private LocalDateTime pubtime;

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

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

    @Schema(description = "状态", example = "1")
    private String reportStatus;

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

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

}