package com.propertyManagement.business.domain.vo;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.propertyManagement.common.annotation.ExcelDictFormat;
import com.propertyManagement.common.convert.ExcelDictConvert;
import com.propertyManagement.common.core.validate.AddGroup;
import com.propertyManagement.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Date;

import java.io.Serializable;

/**
 * 表扬与投诉视图对象 wx_comment
 *
 * @author liushuai
 * @date 2025-05-14
 */
@Data
@ExcelIgnoreUnannotated
public class WxCommentVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 用户名称
     */
    @ExcelProperty(value = "用户名称")
    private String userName;

    /**
     * 小区名称
     */
    @ExcelProperty(value = "小区名称")
    private String communityName;

    /**
     * 户号
     */
    @ExcelProperty(value = "户号")
    private String room;

    /**
     * 描述
     */
    @ExcelProperty(value = "描述")
    private String commentDescription;

    /**
     * 图片（多张图片以;分割）
     */
    private String commentImg;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wx_repairs_state")
    private Integer state;

    /**
     * 类型
     */
    @ExcelProperty(value = "类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wx_comment_type")
    private Integer type;

    /**
     * 负责人名称
     */
    @ExcelProperty(value = "负责人名称")
    private String disposeUserName;

    /**
     * 完成时间
     */
    @ExcelProperty(value = "完成时间")
    private Date completeTime;

    /**
     * 关闭时间
     */
    @ExcelProperty(value = "关闭时间")
    private Date closeTime;


}
