diff --git a/typescript/src/internal_tag.ts b/typescript/src/internal_tag.ts new file mode 100644 index 00000000..617f7ff3 --- /dev/null +++ b/typescript/src/internal_tag.ts @@ -0,0 +1,17 @@ +import { Entity } from './entity'; +import { Field } from './field'; + +export class InternalTag extends Entity { + protected static resourceName: string = 'internal_tags'; + protected static singularName: string = 'internalTag'; + protected static pluralName: string = 'internalTags'; + + @Field.d({readonly: true}) + public id: number; + @Field.d() + public name: string; + @Field.d() + public colour = new Field(this); + @Field.d() + public description: string; +}