sowell-models 1.24.0 → 1.26.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.26.0",
4
4
  "description": "SoWell models",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -27,6 +27,8 @@ export interface ICategory extends IModel {
27
27
  categoryType?: ICategoryType
28
28
  company?: ICompany
29
29
  reasons?: IReason[]
30
+ isAssigned?: boolean
31
+ isHidden?: boolean
30
32
  }
31
33
 
32
34
  export class CategoryCollection
@@ -73,6 +75,8 @@ export class SPCategoryItem extends ApplicationRecord implements ICategory {
73
75
  @Attr() code?: string
74
76
  @Attr() iconUrl!: string
75
77
  @Attr() areaName!: string
78
+ @Attr() isAssigned!: boolean
79
+ @Attr() isHidden!: boolean
76
80
  @BelongsTo() company!: SPCompany
77
81
  @BelongsTo() categoryType!: SPCategoryTypeItem
78
82
  get _id(): string | undefined {