add crete/get cards

This commit is contained in:
2023-06-18 12:16:03 +02:00
parent 0794238f0d
commit ca976cfe5d
19 changed files with 358 additions and 7 deletions

View File

@@ -0,0 +1,9 @@
import { Length } from 'class-validator'
export class CreateCardDto {
@Length(3, 500)
question: string
@Length(3, 500)
answer: string
}