datamodel.ts
1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
export class User {
LoginId: string;
Password: string;
Id: number;
FirstName: string;
LastName: string;
EmailId: string;
NewLoginId: string;
ConfirmPassword: string;
AccountNumberId: number;
UserTypeId: number;
UserId: number;
ProductEditionId: number;
AccountNumber: string;
UserTypeTitle: string;
AccountTypeTitle: string;
CreationDate: Date;
ModifiedDate: Date;
Createdby: string;
Modifiedby: string;
DeactivationDate: Date;
UserStatus:string
}
export class DiscountCode {
Id: number;
DiscountCode: string;
StartDate: Date;
EndDate: Date;
Percentage: DoubleRange;
IsActive: boolean;
}
export class SubscriptionPriceModel {
Id: number;
Title: string;
Price: DoubleRange;
Duration: number;
EditionId: number;
IsActive: boolean;
}
export class License {
LicenseId: number;
AccountNumber: string;
LicenseeFirstName: string;
LicenseeLastName: string;
LicenseTypeId: number = 0;
AccountTypeId: number;
InstitutionName: string;
EmailId: string = "";
Address1: string;
Address2: string;
City: string;
Zip: string;
StateId: number = 0;
CountryId: number = 0;
Phone: string;
TotalLogins: number;
IsActive: boolean = false;
IsDistrictSiteLicense: boolean;
NoOfRenewals: number;
IsTermsAccepted: boolean;
CardNumber: number;
ProductKey: string;
SubscriptionStartDate: Date;
SubscriptionEndDate: Date;
Renewdate: Date;
EditionLogins: string;
Price: DoubleRange;
NoOfImages: number;
MasterSiteUrl: string;
SiteUrlFrom: string;
SiteUrlTo: string;
LoginId: string;
Password: string;
SecurityQuestionId: number;
Answer: string;
UserId: number;
TotalRenewals: number;
}
export class UserManageRightsModel {
Id: number;
Title: string;
ParentId: number;
MenuStatus: boolean;
}