import { BaseOutput } from '~/core/entities/output/baseOutput';

export class PersonContactAllOutput extends BaseOutput {
    /* tslint:disable variable-name */
    ID: number;
    ID_Person: number;
    Person: string;
    PersonCivilName: string;
    ID_ContactType: string;
    ContactType: string;
    IsMain: boolean;
    Value: string;
    Note: string;
    IsSts: boolean;
    IsCatalog: boolean;

    /* tslint:enable variable-name */

    constructor(
        id = 0,
        personId = 0,
        person = '',
        personCivilName = '',
        contactTypeId = '',
        contactType = '',
        isMain = false,
        value = '',
        note = '',
        isSts = false,
        isCatalog = false
    ) {
        super();
        this.ID = id;
        this.ID_Person = personId;
        this.Person = person;
        this.PersonCivilName = personCivilName;
        this.ID_ContactType = contactTypeId;
        this.ContactType = contactType;
        this.IsMain = isMain;
        this.Value = value;
        this.Note = note;
        this.IsSts = isSts;
        this.IsCatalog = isCatalog;
    }
}
