workend on update and create employee functions + validator

This commit is contained in:
Sockenklaus
2021-10-17 01:07:29 +02:00
parent 93e2b9c445
commit 43ee300bd2
5 changed files with 230 additions and 19 deletions

View File

@@ -16,7 +16,7 @@ export default class Employee extends BaseModel {
public firstName : string
@column()
public lastName : string
public lastName : string | undefined
@column()
public shorthand: string