Add isEditable
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/develop This commit looks good
This commit is contained in:
parent
2920fd82f1
commit
f5868618b7
@ -1,28 +1,29 @@
|
|||||||
import { IListItem } from './list.item';
|
import { IListItem } from './list.item';
|
||||||
|
|
||||||
export interface IItem extends IListItem {
|
export interface IItem extends IListItem {
|
||||||
parentCode?: string;
|
parentCode?: string;
|
||||||
geometry?: any;
|
geometry?: any;
|
||||||
tags:string[],
|
tags:string[],
|
||||||
data?:any
|
data?:any
|
||||||
}
|
}
|
||||||
|
|
||||||
export class Item implements IItem {
|
export class Item implements IItem {
|
||||||
public code?:string;
|
public code?:string;
|
||||||
public parentCode?:string;
|
public parentCode?:string;
|
||||||
public tags:string[];
|
public tags:string[];
|
||||||
public geometry?:any;
|
public geometry?:any;
|
||||||
public url?: string;
|
public url?: string;
|
||||||
public name?: string;
|
public name?: string;
|
||||||
public created?: Date;
|
public created?: Date;
|
||||||
public updated?: Date;
|
public updated?: Date;
|
||||||
public dataDate?: Date;
|
public dataDate?: Date;
|
||||||
public itemType?: string;
|
public itemType?: string;
|
||||||
public sourceTask?: string;
|
public sourceTask?: string;
|
||||||
public size?: number;
|
public size?: number;
|
||||||
public state?: number;
|
public state?: number;
|
||||||
public data?:any;
|
public data?:any;
|
||||||
|
public isEditable:boolean;
|
||||||
constructor() {
|
|
||||||
}
|
constructor() {
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user