package com.red.circle.other.inner.model.dto.agency.agency;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.red.circle.framework.dto.DTO;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 用户团队区域.
 *
 * @author pengliang on 2023/11/28
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class UserTeamRegionDTO extends DTO {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 用户id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long userId;

  /**
   * 系统.
   */
  private String sysOrigin;

  /**
   * 团队Id.
   */
  @JsonSerialize(using = ToStringSerializer.class)
  private Long teamId;

  /**
   * 区域id.
   */
  private String regionId;

}
