/**
 * Generated by orval v8.0.0-rc.0 🍺
 * Do not edit manually.
 * VietProDev CMS Backend API
 * Generated API documentation
 * OpenAPI spec version: 1.0.0
 */
import type { UserRoleUser } from './userRoleUser';
import type { UserRoleRole } from './userRoleRole';
import type { UserRoleAssignedByUser } from './userRoleAssignedByUser';

export interface UserRole {
  id?: string;
  user_id?: string;
  role_id?: string;
  /** @nullable */
  assigned_at?: string | null;
  /** @nullable */
  assigned_by?: string | null;
  is_primary?: boolean;
  /** @nullable */
  updated_at?: string | null;
  /** @nullable */
  user?: UserRoleUser;
  /** @nullable */
  role?: UserRoleRole;
  /** @nullable */
  assigned_by_user?: UserRoleAssignedByUser;
}
