export type AnnouncementDepartment = {
    id: number;
    code: string;
    name: string;
    degree_level: string | null;
};

export type AnnouncementCreator = {
    id: number;
    profile: { full_name: string } | null;
};

export type Announcement = {
    id: number;
    title: string;
    content: string;
    department_id: number | null;
    department: AnnouncementDepartment | null;
    enrollment_year: number | null;
    created_by: number | null;
    creator: AnnouncementCreator | null;
    created_at: string;
    updated_at: string;
};
