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 { ...@@ -4,7 +4,7 @@ export class CreatePeopleDto {
@IsNumber() @IsNumber()
@IsNotEmpty() @IsNotEmpty()
ine: number; numetu: number;
@IsString() @IsString()
@IsNotEmpty() @IsNotEmpty()
......
...@@ -4,7 +4,7 @@ export class UpdatePeopleDto { ...@@ -4,7 +4,7 @@ export class UpdatePeopleDto {
@IsNumber() @IsNumber()
@IsNotEmpty() @IsNotEmpty()
ine: number; numetu: number;
@IsString() @IsString()
@IsOptional() @IsOptional()
......
...@@ -2,7 +2,7 @@ import { People } from '../schemas/people.schema'; ...@@ -2,7 +2,7 @@ import { People } from '../schemas/people.schema';
export class PeopleEntity { export class PeopleEntity {
_id: string; _id: string;
ine: number; numetu: number;
firstname: string; firstname: string;
lastname: string; lastname: string;
email: string; email: string;
......
...@@ -22,7 +22,7 @@ export class People { ...@@ -22,7 +22,7 @@ export class People {
@Prop({ @Prop({
type: Number, type: Number,
required: true, required: true,
}) ine: number; }) numetu: number;
@Prop({ @Prop({
type: String, type: String,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment