package com.sckw.system.model.vo.res;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.sckw.core.utils.LongToStringUtils;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 意见反馈响应对象
 * @author chenxiaofei
 * @date 2026-01-12
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Schema(description = "意见反馈响应对象")
public class FeedbackResVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 反馈ID
     */
    @JsonSerialize(using = LongToStringUtils.class)
    @Schema(description = "反馈ID", example = "1234567890")
    private Long id;

    /**
     * 用户ID
     */
    @JsonSerialize(using = LongToStringUtils.class)
    @Schema(description = "用户ID", example = "1234567890")
    private Long userId;

    /**
     * 反馈内容
     */
    @Schema(description = "反馈内容", example = "系统操作不流畅，建议优化...")
    private String content;

    /**
     * 图片附件地址列表
     */
    @Schema(description = "图片附件地址列表")
    private List<String> images;

    /**
     * 联系方式
     */
    @Schema(description = "联系方式", example = "13800138000")
    private String contactInfo;

    /**
     * 是否已处理: 0-未处理, 1-已处理
     */
    @Schema(description = "是否已处理: 0-未处理, 1-已处理", example = "0")
    private Integer isProcessed;

    /**
     * 处理状态描述
     */
    @Schema(description = "处理状态描述", example = "未处理")
    private String processedDesc;

    /**
     * 创建时间
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "创建时间", example = "2026-01-12 10:30:00")
    private Date createdAt;

}




