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

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

/**
 * 添加bd leader.
 *
 * @author pengliang on 2023/11/21
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class BdTeamLeaderAddCmd extends Command {

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

  /**
   * 来源app.
   */
  @NotBlank(message = "sysOrigin required.")
  private String sysOrigin;

  /**
   * lead userId.
   */
  @NotNull(message = "userId required.")
  private Long userId;

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

  /**
   * 区域ID.
   */
  @NotBlank(message = "regionId required.")
  private String regionId;

  /**
   * 创建用户.
   */
  @NotNull(message = "createUser required.")
  private Long createUser;

}
