File size: 235 Bytes
e2cbb6b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { Expose } from "class-transformer";

export class TemplateSerialization {
    @Expose({ name: "_id" })
    id: string;

    @Expose()
    name: string;

    @Expose()
    user: string;

    @Expose()
    exercises: string[];
}