package com.red.circle.other.inner.model.cmd.team;

import com.red.circle.framework.core.dto.CommonCommand;
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 2022/12/1
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class TeamContactCmd extends CommonCommand {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 团队id.
   */
  @NotNull
  private Long teamId;

  /**
   * facebook、邮箱等.
   */
  @NotBlank
  private String type;

  /**
   * 联系方式.
   */
  @NotBlank
  private String contact;

  /**
   * 备注.
   */
  private String remarks;

  /**
   * 创建用户.
   */
  private Long createUser;

}
