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

export class UnitAll extends BaseInput {
    constructor(
        /* tslint:disable variable-name */
        public ID_Login: string = '',
        // public ID_Application: string = '',
        // public ID: number = 0,
        // public ID_Group: number = 0,
        // public ID_UnitType: string = undefined,
        public DisplayName: string = undefined,
        public RegistrationNumber: string = undefined,
        public RegistrationNumberStartWith: boolean = false,
        public Location: string = undefined,
        public AccountNumber: string = undefined,
        public IC: string = undefined,
        // public ID_UnitParent: number = 0,
        // public ID_UnitChild: number = 0,
        // public ID_UnitTree: number = 0,
        public ID_AlignmentType: number = undefined,
        /* tslint:enable variable-name */) {
        super(APP_ID);
        this.IC = IC || undefined;
        this.ID_AlignmentType = ID_AlignmentType || undefined;
        this.AccountNumber = AccountNumber || undefined;
        this.RegistrationNumber = RegistrationNumber || undefined;
        this.DisplayName = DisplayName || undefined;
        this.Location= Location|| undefined;


    }
}
