package com.propertyManagement.business.domain.bo;

import com.propertyManagement.common.core.validate.AddGroup;
import com.propertyManagement.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.propertyManagement.common.core.domain.BaseEntity;

/**
 * 表扬与投诉业务对象 wx_comment
 *
 * @author liushuai
 * @date 2025-05-14
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class WxCommentBo extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * 用户主键
     */
    private Long userId;

    /**
     * 用户名称
     */
    private String userName;

    /**
     * 小区主键
     */
    private Long communityId;

    /**
     * 小区名称
     */
    private String communityName;

    /**
     * 户号
     */
    private String room;

    /**
     * 描述
     */
    @NotEmpty(message = "描述不能为空", groups = { AddGroup.class, EditGroup.class })
    private String commentDescription;

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

    /**
     * 状态
     */
    private Integer state;

    /**
     * 类型
     */
    @NotNull(message = "类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer type;

    /**
     * 负责人ID
     */
    private Long disposeUserId;

    /**
     * 负责人名称
     */
    private String disposeUserName;

    /**
     * 完成时间
     */
    private Date completeTime;

    /**
     * 关闭时间
     */
    private Date closeTime;


}
