package com.red.circle.auth.dto;

import com.red.circle.framework.core.security.UserCredential;
import com.red.circle.framework.dto.ClientObject;
import com.red.circle.other.inner.model.dto.user.UserProfileDTO;
import java.io.Serial;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 令牌凭证.
 *
 * @author pengliang on 2023/5/15
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class TokenCredentialCO extends ClientObject {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 令牌.
   */
  private String token;

  /**
   * 用户资料信息.
   */
  private UserProfileDTO userProfile;

  /**
   * 凭证信息.
   */
  private UserCredential userCredential;

  /**
   * 签名.
   */
  private String userSig;

}
