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

import com.red.circle.common.business.dto.cmd.AppExtCommand;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

/**
 * 处理cp申请.
 *
 * @author pengliang on 2021/7/13
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class ProcessApplyCmd extends AppExtCommand {

  /**
   * 处理记录id.
   *
   * @eo.required
   */
  @NotNull(message = "applyId required.")
  private Long applyId;

  /**
   * true 同意，false 拒绝.
   *
   * @eo.required
   */
  @NotNull(message = "agree required.")
  private Boolean agree;
}
