addtl changes for Member.ts and Partner.ts
parent
ad9a518b97
commit
fc80647a41
|
@ -52,3 +52,5 @@ export default class Member {
|
|||
@prop()
|
||||
public additionalAcknowledgement: MemberAdditionalAcknowledgement[] | undefined;
|
||||
}
|
||||
|
||||
export const MemberModel = getModelForClass(Member);
|
||||
|
|
|
@ -40,7 +40,10 @@ export enum PartnerCommissionType {
|
|||
TRIAL,
|
||||
}
|
||||
|
||||
export default class Partner extends Member {
|
||||
export default class Partner {
|
||||
@prop({ required: true, unique: true })
|
||||
public discordID: string | undefined;
|
||||
|
||||
@prop({ required: true })
|
||||
public roleType: PartnerRoleType | undefined;
|
||||
|
||||
|
@ -56,3 +59,5 @@ export default class Partner extends Member {
|
|||
@prop()
|
||||
public directReport: Partner | string | undefined;
|
||||
}
|
||||
|
||||
export const PartnerModel = getModelForClass(Partner);
|
||||
|
|
Loading…
Reference in New Issue