Commits

Rezart Vata authored f04f4b4f346
[CST-4878] Finished working on embargo add part of form and unit testing
No tags

src/app/core/config/models/config-accesses-conditions-options.model.ts

Added
1 +import { autoserialize } from 'cerialize';
2 +
3 +/**
4 + * Model class for an Access Condition
5 + */
6 +export class AccessesConditionOption {
7 +
8 + /**
9 + * The name for this Access Condition
10 + */
11 + name: string;
12 +
13 + /**
14 + * The groupName for this Access Condition
15 + */
16 + groupName: string;
17 +
18 +
19 + /**
20 + * A boolean representing if this Access Condition has a start date
21 + */
22 + hasStartDate: boolean;
23 +
24 + /**
25 + * A boolean representing if this Access Condition has an end date
26 + */
27 + hasEndDate: boolean;
28 +
29 + /**
30 + * Maximum value of the start date
31 + */
32 + endDateLimit?: string;
33 +
34 + /**
35 + * Maximum value of the end date
36 + */
37 + startDateLimit?: string;
38 +
39 + /**
40 + * Maximum value of the start date
41 + */
42 + maxStartDate?: string;
43 +
44 + /**
45 + * Maximum value of the end date
46 + */
47 + maxEndDate?: string;
48 +}

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut