1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2025-01-14 14:43:17 +08:00
pigallery2/common/entities/SharingDTO.ts

20 lines
351 B
TypeScript
Raw Normal View History

import {UserDTO} from './UserDTO';
2017-07-03 19:17:49 +02:00
export interface SharingDTO {
id: number;
path: string;
sharingKey: string;
password: string;
expires: number;
timeStamp: number;
includeSubfolders: boolean;
creator: UserDTO;
}
export interface CreateSharingDTO {
id?: number;
password: string;
valid: number;
includeSubfolders: boolean;
}