import { APP_ID } from '~/constants/api.constants';
import { BaseInput } from '~/core/entities/input/baseInput';

export class MembershipApplicationInsert extends BaseInput {
    /* tslint:disable variable-name */
    ID: number;
    ID_Login: string;
    ID_Unit: number;
    FirstName: string;
    LastName: string;
    IsAdult: boolean;
    FirstNameParent: string;
    LastNameParent: string;
    Email: string;

    wrapper: string;
    /* tslint:enable variable-name */

    constructor(appId = APP_ID, login = null, idUnit = undefined, id = null, firstName = '', lastName = '', isAdult = undefined, firstNameParent = '', lastNameParent = '', email = '') {
        super(appId);
        this.ID = id;
        this.ID_Login = login;
        this.ID_Unit = idUnit;
        this.FirstName = firstName;
        this.LastName = lastName;
        this.IsAdult = isAdult;
        this.FirstNameParent = firstNameParent;
        this.LastNameParent = lastNameParent;
        this.Email = email;

        this.wrapper = 'membershipApplication';
    }
}
