import { Profile } from './profile.model';

export interface Canopy {
    voile: string;
    taille: number;
    author: Profile;
    createdAt: string;
    updatedAt: string;
}

export interface CanopyModelBySize {
    _id: {
        voile: string,
        taille: number
    },
    count: number
}

export interface CanopyModelByYear {
    _id: {
        voile: string,
        taille: number,
        year: number
    },
    count: number
}

export interface CanopyBySize {
    _id: {
        taille: number
    },
    count: number
}

export interface CanopyByYear {
    _id: {
        taille: number,
        year: number
    },
    count: number
}