import { BaseOutput } from '~/core/entities/output/baseOutput';

export class MembershipAllOutput extends BaseOutput {
    /* tslint:disable variable-name */
    ID: number;
    ID_Unit: number;
    Unit: string;
    RegistrationNumber: string;
    ID_Person: number;
    Person: string;
    IdentificationCode: string;
    ID_MembershipType: string;
    MembershipType: string;
    ID_MembershipCategory: string;
    MembershipCategory: string;
    Birthday: string;

    /* tslint:enable variable-name */

    constructor(
        id = 0,
        unitId = 0,
        unit = '',
        registrationNumber = '',
        personId = 0,
        person = '',
        identificationCode = '',
        membershipTypeId = '',
        membershipType = '',
        membershipCategoryId = '',
        membershipCategory = '',
        birthday = ''
    ) {
        super();
        this.ID = id;
        this.ID_Unit = unitId;
        this.Unit = unit;
        this.RegistrationNumber = registrationNumber;
        this.ID_Person = personId;
        this.Person = person;
        this.IdentificationCode = identificationCode;
        this.ID_MembershipType = membershipTypeId;
        this.MembershipType = membershipType;
        this.ID_MembershipCategory = membershipCategoryId;
        this.MembershipCategory = membershipCategory;
        this.Birthday = birthday;
    }
}
