package com.red.circle.console.app.dto.cmd.app.team.bd;

import com.red.circle.framework.dto.Command;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 添加bd.
 *
 * @author pengliang on 2022/12/29
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class TeamBdAddCmd extends Command {

  @Serial
  private static final long serialVersionUID = 1L;

  private Long id;

  /**
   * 平台系统.
   */
  @NotBlank(message = "sysOrigin required.")
  private String sysOrigin;

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

  /**
   * 区域.
   */
  @NotBlank
  private String region;

  /**
   * 联系方式
   */
  private String contact;

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

  /**
   * BD Lead 用户Id.
   */
  private Long bdLeadUserId;

}
