change whole backend and tables for gorm table references
simplify tables with table components close #31
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import type { Group } from './group';
|
||||
import type { Responsible } from './responsible';
|
||||
|
||||
export interface Member {
|
||||
id: number;
|
||||
memberId?: number;
|
||||
responsibleId?: number | undefined;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
birthday?: string;
|
||||
@@ -10,8 +15,8 @@ export interface Member {
|
||||
zip?: string;
|
||||
phone?: string;
|
||||
email?: string;
|
||||
group?: string;
|
||||
responsiblePerson?: Member;
|
||||
group?: Group;
|
||||
responsible?: Responsible;
|
||||
firstVisit?: string;
|
||||
lastVisit?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user