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

export class MeetingDateUpdate extends BaseInput {
    /* tslint:disable variable-name */
    ID: number;
    ID_Login: string;
    ID_Unit: string;
    ID_WeekDay: string;
    WeekDay: string;
    TimeFrom: string;
    TimeTo: string;
    Periodicity: string;
    ID_Occupation: number;

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

    constructor(appId = APP_ID, login = null, unitId = null, id = null, weekDayId = null, weekDay = null, timeFrom = null, timeTo = null, periodicity = null, occupationId = undefined) {
        super(appId);
        this.ID_Login = login;
        this.ID_Unit = unitId;
        this.ID = id;
        this.ID_WeekDay = weekDayId;
        this.WeekDay = weekDay;
        this.TimeFrom = timeFrom;
        this.TimeTo = timeTo;
        this.Periodicity = periodicity;
        this.ID_Occupation = occupationId;

        this.wrapper = 'meetingDate';
    }
}
