SudoSOS Back-end API / terms-of-service / TermsOfServiceAcceptance
Class: TermsOfServiceAcceptance ​
Records that a user accepted a specific terms of service version. The createdAt timestamp doubles as the acceptance timestamp.
Extends ​
Constructors ​
Constructor ​
ts
new TermsOfServiceAcceptance(): TermsOfServiceAcceptance;Returns ​
TermsOfServiceAcceptance
Inherited from ​
Properties ​
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
createdAt | readonly | Date | The creation date of the object. | BaseEntity.createdAt |
id | readonly | number | - | BaseEntity.id |
updatedAt | readonly | Date | The last update date of the object. | BaseEntity.updatedAt |
user | public | User | - | - |
userId | public | number | - | - |
version | readonly | number | The current version of the object. | BaseEntity.version |
versionNumber | public | string | - | - |