sowell-models 1.24.0 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sowell-models",
3
- "version": "1.24.0",
3
+ "version": "1.25.0",
4
4
  "description": "SoWell models",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -27,6 +27,7 @@ export interface ICategory extends IModel {
27
27
  categoryType?: ICategoryType
28
28
  company?: ICompany
29
29
  reasons?: IReason[]
30
+ isAssigned?: boolean
30
31
  }
31
32
 
32
33
  export class CategoryCollection
@@ -73,6 +74,7 @@ export class SPCategoryItem extends ApplicationRecord implements ICategory {
73
74
  @Attr() code?: string
74
75
  @Attr() iconUrl!: string
75
76
  @Attr() areaName!: string
77
+ @Attr() isAssigned!: boolean
76
78
  @BelongsTo() company!: SPCompany
77
79
  @BelongsTo() categoryType!: SPCategoryTypeItem
78
80
  get _id(): string | undefined {