// Updated user.model.ts
export interface User {
    id?: number;
    user_id?: string;  // Auto-generated ID
    username: string;
    email: string;
    contact: string;
    roles: string;
    user_status: string;
    password?: string;
    photo?: string;
    company_logo?: string;
    documents?: UserDocument[];
    created_at?: string;
    updated_at?: string;
}

export interface UserDocument {
    filename: string;
    path: string;
    uploaded_at: string;
}