mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-06-10 01:24:20 +02:00
27 lines
471 B
TypeScript
27 lines
471 B
TypeScript
export class Announcement {
|
|
id = 0
|
|
|
|
created = new Date()
|
|
|
|
type = ""
|
|
|
|
title = ""
|
|
|
|
url = ""
|
|
|
|
informedWithNotif = false
|
|
}
|
|
|
|
export const translationAnnouncement: { [k in keyof Announcement]: string } = {
|
|
id: "id",
|
|
created: "creation",
|
|
type: "type",
|
|
title: "titre",
|
|
url: "url",
|
|
informedWithNotif: "informéAvecUneNotif",
|
|
}
|
|
|
|
export const elementName = "Announcement"
|
|
|
|
export type AnnouncementWithoutId = Omit<Announcement, "id">
|