mirror of
https://github.com/Paris-est-Ludique/intranet.git
synced 2025-06-12 10:34:20 +02:00
39 lines
528 B
TypeScript
39 lines
528 B
TypeScript
export class Team {
|
|
id = 0
|
|
|
|
name = ""
|
|
|
|
min = 0
|
|
|
|
max = 0
|
|
|
|
description = ""
|
|
|
|
before = ""
|
|
|
|
during = ""
|
|
|
|
after = ""
|
|
|
|
status = ""
|
|
|
|
order = 0
|
|
}
|
|
|
|
export const translationTeam: { [k in keyof Team]: string } = {
|
|
id: "id",
|
|
name: "nom",
|
|
min: "min",
|
|
max: "max",
|
|
description: "description",
|
|
before: "avant",
|
|
during: "pendant",
|
|
after: "après",
|
|
status: "statut",
|
|
order: "ordre",
|
|
}
|
|
|
|
export const elementName = "Team"
|
|
|
|
export type TeamWithoutId = Omit<Team, "id">
|