forked from wangziqi/gongxue-base
fix: add studentNo field to Student entity
This commit is contained in:
@@ -20,6 +20,8 @@ export class Student {
|
||||
|
||||
@Column({ length: 50 })
|
||||
name: string;
|
||||
@Column({ name: 'student_no', length: 30, nullable: true })
|
||||
studentNo: string;
|
||||
|
||||
@Column({ length: 20, nullable: true })
|
||||
phone: string;
|
||||
|
||||
Reference in New Issue
Block a user