Skip to content
Snippets Groups Projects
Unverified Commit 78cbccab authored by Nabilsenko's avatar Nabilsenko Committed by GitHub
Browse files

Merge pull request #17 from ivanalglave/update-ine

fix: change ine to numetu
parents 438026fa 6fe3070a
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@ export class CreatePeopleDto {
@IsNumber()
@IsNotEmpty()
ine: number;
numetu: number;
@IsString()
@IsNotEmpty()
......
......@@ -4,7 +4,7 @@ export class UpdatePeopleDto {
@IsNumber()
@IsNotEmpty()
ine: number;
numetu: number;
@IsString()
@IsOptional()
......
......@@ -2,7 +2,7 @@ import { People } from '../schemas/people.schema';
export class PeopleEntity {
_id: string;
ine: number;
numetu: number;
firstname: string;
lastname: string;
email: string;
......
......@@ -22,7 +22,7 @@ export class People {
@Prop({
type: Number,
required: true,
}) ine: number;
}) numetu: number;
@Prop({
type: String,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment