package com.red.circle.other.app.dto.cmd.user.relation.friend;

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 好友申请命令.
 *
 * @author pengliang on 2021/5/6
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class FriendsApplyCmd extends AppExtCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 用户id.
   *
   * @eo.required
   */
  @NotNull(message = "userId required.")
  private Long userId;

  /**
   * 申请描述.
   *
   * @eo.required
   */
  @NotBlank(message = "applyDesc required.")
  private String applyDesc;

}
