Add isEditable
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good

This commit is contained in:
Willem Dantuma 2020-02-18 22:02:34 +01:00
parent 2920fd82f1
commit f5868618b7

View File

@ -1,28 +1,29 @@
import { IListItem } from './list.item';
export interface IItem extends IListItem {
parentCode?: string;
geometry?: any;
tags:string[],
data?:any
}
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?: Date;
public updated?: Date;
public dataDate?: Date;
public itemType?: string;
public sourceTask?: string;
public size?: number;
public state?: number;
public data?:any;
constructor() {
}
}
import { IListItem } from './list.item';
export interface IItem extends IListItem {
parentCode?: string;
geometry?: any;
tags:string[],
data?:any
}
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?: Date;
public updated?: Date;
public dataDate?: Date;
public itemType?: string;
public sourceTask?: string;
public size?: number;
public state?: number;
public data?:any;
public isEditable:boolean;
constructor() {
}
}