package com.xindazhou.business.controller.app.community.like.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Schema(description = "移动端 - 点赞 Request VO")
@Data
public class LikeReqVO {

    @Schema(description = "目标类型：1-帖子，2-评论", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "目标类型不能为空")
    private Integer targetType;

    @Schema(description = "目标ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "目标ID不能为空")
    private Long targetId;

}

