Browse Source

增加备注字段

wuyi 1 month ago
parent
commit
4e72aaf56f
2 changed files with 6 additions and 0 deletions
  1. 3 0
      src/entities/person-info.entity.ts
  2. 3 0
      src/entities/pet-info.entity.ts

+ 3 - 0
src/entities/person-info.entity.ts

@@ -50,6 +50,9 @@ export class PersonInfo {
   @Column({ length: 100, nullable: true })
   emergencyContactEmail: string
 
+  @Column({ length: 500, nullable: true })
+  remark: string
+
   @CreateDateColumn()
   createdAt: Date
 

+ 3 - 0
src/entities/pet-info.entity.ts

@@ -32,6 +32,9 @@ export class PetInfo {
   @Column({ length: 100, nullable: true })
   contactEmail: string
 
+  @Column({ length: 500, nullable: true })
+  remark: string
+
   @CreateDateColumn()
   createdAt: Date