package com.emotion.dto.request.community;

import com.emotion.dto.request.BaseRequest;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 社区帖子更新请求
 * 
 * @author huazhongmin
 * @date 2025-09-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class CommunityPostUpdateRequest extends BaseRequest {

    /**
     * 帖子ID
     */
    @NotBlank(message = "帖子ID不能为空")
    private String id;

    /**
     * 标题
     */
    @NotBlank(message = "标题不能为空")
    private String title;

    /**
     * 内容
     */
    @NotBlank(message = "内容不能为空")
    private String content;

    /**
     * 帖子类型
     */
    private String type;

    /**
     * 地点ID
     */
    private String locationId;

    /**
     * 标签
     */
    private String tags;

    /**
     * 是否私密
     */
    private Integer isPrivate;
}