mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 18:56:22 +00:00
typo fix
This commit is contained in:
@ -4,7 +4,7 @@ import { ProjectEntity } from '../../project/entities';
|
||||
import { AbstractEntity } from '../../abstract/entities/abstract.entity';
|
||||
import { NewTagDto } from '../dtos/tag.dto';
|
||||
import { SpaceModelProductAllocationEntity } from '../../space-model/entities/space-model-product-allocation.entity';
|
||||
import { SubspaceProductAllocation } from '../../space';
|
||||
import { SubspaceProductAllocationEntity } from '../../space';
|
||||
|
||||
@Entity({ name: 'tag' })
|
||||
@Unique(['name', 'project'])
|
||||
@ -38,10 +38,10 @@ export class NewTagEntity extends AbstractEntity<NewTagDto> {
|
||||
public spaceModelAllocations: SpaceModelProductAllocationEntity[];
|
||||
|
||||
@OneToMany(
|
||||
() => SubspaceProductAllocation,
|
||||
() => SubspaceProductAllocationEntity,
|
||||
(allocation) => allocation.allowedTags,
|
||||
)
|
||||
public subspaceAllocations: SubspaceProductAllocation[];
|
||||
public subspaceAllocations: SubspaceProductAllocationEntity[];
|
||||
|
||||
constructor(partial: Partial<NewTagEntity>) {
|
||||
super();
|
||||
|
Reference in New Issue
Block a user