system-praktyk-front/src/data/internship.ts
2020-06-09 23:52:14 +02:00

24 lines
503 B
TypeScript

import { Moment } from "moment";
import { Nullable } from "../helpers";
export enum InternshipType { }
export enum InternshipProgram { }
export interface Internship {
type: InternshipType;
program: InternshipProgram;
startDate: Moment;
endDate: Moment;
isAccepted: boolean;
lengthInWeeks: number;
}
export const emptyInternship: Nullable<Internship> = {
endDate: null,
startDate: null,
type: null,
program: null,
isAccepted: false,
lengthInWeeks: 0,
}