package cn.iocoder.yudao.module.server.controller.admin.policycommunications.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 PolicyCommunicationsSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "13003")
    private Long id;

    @Schema(description = "政策ID", example = "27119")
    private Integer policyId;

    @Schema(description = "政策标题")
    private String policyTitle;

    @Schema(description = "答复单位")
    private String replyDept;

    @Schema(description = "处理部门id", example = "25396")
    private String replyDeptid;

    @Schema(description = "用户姓名", example = "张三")
    private String userName;

    @Schema(description = "用户ID", example = "31743")
    private String userId;

    @Schema(description = "提交用户信息")
    private String mobile;

    @Schema(description = "沟通类型：咨询、建议、投诉", example = "1")
    private String submitType;

    @Schema(description = "沟通主题")
    private String title;

    @Schema(description = "沟通内容")
    private String content;

    @Schema(description = "沟通信息")
    private String msg;

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

    @Schema(description = "是否公开：1-是，0-否")
    private Integer submitIsPublic;

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

    @Schema(description = "状态：0-待处理，1-已回复，2-已公开", example = "2")
    private Integer dealStatus;

    @Schema(description = "回复内容")
    private String replayContent;

    @Schema(description = "拒绝理由")
    private String rejectReason;

    @Schema(description = "回复时间", requiredMode = Schema.RequiredMode.REQUIRED)
//    @NotNull(message = "回复时间不能为空")
    private LocalDateTime replayTime;

    @Schema(description = "是否公开：1-是，0-否")
    private Integer replayIsPublic;

    /**
     * 处理部门id
     */
    private Long departmentId;
    private Long departmentIdT;

    private String puburl;


}