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

export class PersonAll extends BaseInput {
    /* tslint:disable: variable-name */
    ID_Login: string;
    DisplayName: string;
    IdentificationCode: string;
    IdentificationCodeStartsWith: string;
    public OnlyDirectMember: boolean;
    public ID_FunctionType: number;
    public ID_QualificationType: number;
    public RegistrationNumber: string;

    /* tslint:enable variable-name */

    constructor(appId = APP_ID, loginId = '', displayName = '', id = undefined, idStart = undefined,
        onlyDirectMember = undefined, functionId = undefined, qualificationId = undefined, registrationNumber = undefined) {
        super(appId);
        this.ID_Login = loginId;
        this.DisplayName = displayName;
        this.IdentificationCode = id;
        this.IdentificationCodeStartsWith = idStart;
        this.OnlyDirectMember = onlyDirectMember;
        this.ID_FunctionType = functionId;
        this.ID_QualificationType = qualificationId;
        this.RegistrationNumber = registrationNumber;
    }
}
