Listory/src/sources/spotify/spotify-connection.entity.ts

16 lines
245 B
TypeScript
Raw Normal View History

2020-02-01 16:11:48 +01:00
import { Column } from "typeorm";
export class SpotifyConnection {
@Column()
id: string;
@Column()
accessToken: string;
@Column()
refreshToken: string;
2020-02-02 19:21:58 +01:00
@Column({ type: "timestamp", nullable: true })
lastRefreshTime?: Date;
2020-02-01 16:11:48 +01:00
}