import { BaseMetadata } from '@/types/api/api-general';

export type BaseUser = {
  id: number;
  id_user: number;
  email: string;
  name: string;
};

export type User = BaseMetadata & BaseUser;

export type CreateUserPayload = {
  id_user: number;
  name: string;
  email: string;
};

export type UpdateUserPayload = CreateUserPayload;
