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

export class UnitDetailOutput extends BaseOutput {
    /* tslint:disable variable-name */
    ID: number;
    ID_UnitParent: number;
    ContainsMembers: boolean;
    UnitType: string;
    DisplayName: string;
    RegistrationNumber: string;
    Location: string;
    IC: string;
    DIC: string;
    Street: string;
    City: string;
    Postcode: string;
    State: string;
    PostalFirstLine: string;
    PostalStreet: string;
    PostalCity: string;
    PostalPostcode: string;
    PostalState: string;

    /* tslint:enable variable-name */

    constructor(
        id = 0,
        parentUnitId = 0,
        containsMembers = false,
        unitType = '',
        displayName = '',
        registrationNumber = '',
        location = '',
        ic = '',
        dic = '',
        street = '',
        city = '',
        postcode = '',
        state = '',
        postalFirstLine = '',
        postalStreet = '',
        postalCity = '',
        postalPostcode = '',
        postalState = ''
    ) {
        super();
        this.ID = id;
        this.ID_UnitParent = parentUnitId;
        this.ContainsMembers = containsMembers;
        this.UnitType = unitType;
        this.DisplayName = displayName;
        this.RegistrationNumber = registrationNumber;
        this.Location = location;
        this.IC = ic;
        this.DIC = dic;
        this.Street = street;
        this.City = city;
        this.Postcode = postcode;
        this.State = state;
        this.PostalFirstLine = postalFirstLine;
        this.PostalStreet = postalStreet;
        this.PostalCity = postalCity;
        this.PostalPostcode = postalPostcode;
        this.PostalState = postalState;
    }
}
