Foreign key on one side, Inv foreign key on the other.
export class AccountUser extends BaseEntity {
/** Guid key */
id!: string;
/** Guid FK systemUser */
systemUserId!: string;
/** FK systemUserId */
systemUser!: systemUser;
}
export class SystemUser extends BaseEntity {
/** Guid key */
id!: string;
/** Inv FK systemUserId */
accountUser!: AccountUser;
}
The accountUser property on SystemUser should be optional (? instead of !)
Foreign key on one side, Inv foreign key on the other.
The
accountUserproperty on SystemUser should be optional (? instead of !)