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

export class AdvertisingCategoryUpdate extends BaseInput {
    /* tslint:disable variable-name */
    ID: number;
    ID_Login: string;
    ID_Unit: string;
    AgeFrom: number;
    AgeTo: number;
    ID_Sex: string;
    Sex: string;
    Note: string;
    ID_MeetingDate: number;

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

    constructor(appId = APP_ID, login = null, unitId = null, id = null, ageFrom = null, ageTo = null, sexId = null, sex = null, note = null, meetingDateId = undefined) {
        super(appId);
        this.ID_Login = login;
        this.ID_Unit = unitId;
        this.ID = id;
        this.AgeFrom = ageFrom;
        this.AgeTo = ageTo;
        this.ID_Sex = sexId;
        this.Sex = sex;
        this.Note = note;
        this.ID_MeetingDate = meetingDateId;

        this.wrapper = 'advertisingCategory';
    }
}
