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


export class EventEducationOtherIllustrativePhotoAll extends BaseInput {
    /* tslint:disable: variable-name */
    constructor(
        public ID_Application: string = APP_ID,
        public ID_Login: string = '',
        public ID_EventEducation: number = 1530,
        public ID_EventEducationCourse: number = 0
    ) {
        super(ID_Application);
        if (!ID_EventEducationCourse) {
            this.ID_EventEducationCourse = 1670;
        }
    }
}

export class EventEducationOtherDetail extends BaseInput {
    constructor(
        /* tslint:disable: variable-name */
        public ID_Login: string = '',
        public ID_EventEducation: number = 0,
        public ID_EventEducationCourse: number = null
        /* tslint:enable: variable-name */
    ) {
        super();
        if (!ID_EventEducationCourse) {
            this.ID_EventEducationCourse = undefined;
        }
    }
}

export class EduEventOtherDetailOutput extends BaseOutput {
    constructor(
        /* tslint:disable: variable-name */
        public ID_Login: string = '',
        public ID: number = 0,
        public ID_EventEducation: number = 0,
        public EventEducation: string = '',
        public ID_EventEducationCourse: number = 0,
        public EventEducationCourse: string = '',
        public IsForester: boolean = false,
        public IsQualifyingExam: boolean = false,
        public Annotation: string = '',
        public TargetGroup: string = '',
        public EventFocus: string = '',
        public EntryConditions: string = '',
        public GraduateConditions: string = '',
        public AuthenticationForm: string = '',
        public ParticipantFee: number = 0,
        public NextOccurrenceYear: number = 0,
        public CourseFrequency: string = '',
        public Graduates: number = 0,
        public PhotoGallery: string = '',
        public EventHistory: string = '',
        public Note: string = '',
        public IsChildFriendly: boolean = false,
        public IsAgeRestricted: boolean = false,
        public ShortDescription: string = ''
    ) {
        super();
    }
}

export class EduEventIllustrativePhotoOutput extends BaseOutput {

    constructor(public ID: number = 0,
        /* tslint:disable: variable-name */
        public ID_EventEducationOther: number = 0,
        public ID_Document: number = 0,
        public ID_DocumentSmall: number = 0,
        public DisplayName: string = '',
        public FileName: string = '',
        public FileNameExtension: string = ''
        /* tslint:enable: variable-name */
    ) {
        super();

    }
}
