package com.red.circle.console.app.dto.cmd.admin;

import com.red.circle.framework.core.dto.CommonCommand;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * 用户信息.
 *
 * @author pengliang on 2023/5/12
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
public class AccountInfoCmd extends CommonCommand {

  private static final long serialVersionUID = 1L;

  /**
   * 昵称.
   */
  @NotBlank(groups = Update.class, message = "昵称不能为空")
  private String nickname;

  /**
   * 邮箱.
   */
  private String email;

  /**
   * 手机.
   */
  private String phone;

  public interface Update {

  }

}
