package com.red.circle.other.app.dto.cmd.dynamic;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author zongpubin on 2023/04/06
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class UserRelationThumbsUpCmd extends CommonCommand {

  /**
   * 被点赞人id.
   *
   * @eo.required
   */
  @JsonSerialize(using = ToStringSerializer.class)
  @NotNull(message = "thumbsUpId required.")
  private Long thumbsUpId;
}
