/* tslint:disable */
/* eslint-disable */
/* Code generated by ng-openapi-gen DO NOT EDIT. */

import { FindStatusResDto } from '../models/find-status-res-dto';
import { GetPrivilegesResDto } from '../models/get-privileges-res-dto';
import { GetRolesResDto } from '../models/get-roles-res-dto';
export interface AccountResDto {
  /**
   * The account creation date, can be null
   */
  creationDate: string | null;

  /**
   * The account expiration date, can be null
   */
  expireDate: string | null;

  /**
   * The first name of the user, can be null
   */
  firstName: string | null;

  /**
   * The last login date of the user, can be null
   */
  lastLogin: string | null;

  /**
   * The last name of the user, can be null
   */
  lastName: string | null;

  /**
   * A list of user's privileges
   * @type GetPrivilegesResDto[]
   */
  privileges: Array<GetPrivilegesResDto>;

  /**
   * A list of user's roles
   * @type GetRolesResDto[]
   */
  roles: Array<GetRolesResDto>;

  /**
   * The status of the account
   * @type FindStatusResDto
   */
  status: FindStatusResDto;

  /**
   * The user's access token
   */
  token: string;

  /**
   * The username of the account
   */
  username: string;
}
