This repository has been archived on 2024-02-08. You can view files and clone it, but cannot push or open issues or pull requests.
frontend/src/models/caldavToken.ts

14 lines
273 B
TypeScript
Raw Normal View History

2022-01-04 23:13:08 +00:00
import AbstractModel from './abstractModel'
export default class CaldavTokenModel extends AbstractModel {
id = 0
created : undefined | Date = undefined
constructor(data? : Object) {
super(data)
if (this.created) {
this.created = new Date(this.created)
}
}
}