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

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 政策沟通交流分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PolicyCommunicationsPageReqVO extends PageParam {

    @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 = "留言时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    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 = "回复时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] replayTime;

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

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

    private Long departmentIdT;

    @Schema(description = "政策发布地址")
    private String puburl;


}