import { IListItem } from './list.item';

export interface IItem extends IListItem {
    parentCode?: string;
    geometry?: any;
    tags:string[],
    data?:any
    isEditable?:boolean;
}

export class Item implements IItem {
  public code?:string;
  public parentCode?:string;
  public tags:string[];
  public geometry?:any;
  public url?: string;
  public name?: string;
  public created?: string;
  public updated?: string;
  public dataDate?: string;
  public dataEndDate?: string;
  public itemType?: string;
  public sourceTask?: string;
  public size?: number;
  public state?: number;
  public data?:any;
  public isEditable?:boolean;
  public owner?: string;
  public fullPath?: string;

  constructor() {  
  }
}
