mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 02:24:54 +00:00
added tag action
This commit is contained in:
5
libs/common/src/constants/modify-action.enum.ts
Normal file
5
libs/common/src/constants/modify-action.enum.ts
Normal file
@ -0,0 +1,5 @@
|
||||
export enum ModifyAction {
|
||||
ADD = 'add',
|
||||
UPDATE = 'update',
|
||||
DELETE = 'delete',
|
||||
}
|
||||
@ -26,4 +26,10 @@ export class TagModel extends AbstractEntity<TagModelDto> {
|
||||
})
|
||||
@JoinColumn({ name: 'subspace_id' })
|
||||
subspaceModel: SubspaceModelEntity;
|
||||
|
||||
@Column({
|
||||
nullable: false,
|
||||
default: false,
|
||||
})
|
||||
public disabled: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user