fix createdEntity and checkpoint function Relation

This commit is contained in:
AdisakKanthawilang 2024-02-02 14:27:39 +07:00
parent ed4d07a439
commit 051451256a
8 changed files with 148 additions and 7 deletions

View file

@ -14,7 +14,7 @@ export class BloodGroup extends EntityBase {
export class CreateBloodGroup {
@Column()
bloodGroup: string;
name: string;
}
export type UpdateBloodGroup = Partial<CreateBloodGroup>;

View file

@ -21,7 +21,7 @@ export class EducationLevel extends EntityBase {
export class CreateEducationLevel {
@Column()
educationLevel: string;
name: string;
@Column()
rank: number;

View file

@ -14,7 +14,7 @@ export class Gender extends EntityBase {
export class CreateGender {
@Column()
gender: string;
name: string;
}
export type UpdateGender = Partial<CreateGender>;

View file

@ -14,7 +14,7 @@ export class Prefixe extends EntityBase {
export class CreatePrefixe {
@Column()
prefixe: string;
name: string;
}
export type UpdatePrefixe = Partial<CreatePrefixe>;

View file

@ -14,7 +14,7 @@ export class Rank extends EntityBase {
export class CreateRank {
@Column()
rank: string;
name: string;
}
export type UpdateRank = Partial<CreateRank>;

View file

@ -14,7 +14,7 @@ export class Relationship extends EntityBase {
export class CreateRelationship {
@Column()
relationship: string;
name: string;
}
export type UpdateRelationship = Partial<CreateRelationship>;

View file

@ -14,7 +14,7 @@ export class Religion extends EntityBase {
export class CreateReligion {
@Column()
religion: string;
name: string;
}
export type UpdateReligion = Partial<CreateReligion>;