mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-08-26 08:59:39 +00:00
Merge pull request #470 from SyncrowIOT/fix/remove-x-y-from-space
SP-1853: Space Fixes
This commit is contained in:
@ -91,13 +91,6 @@ export class SpaceEntity extends AbstractEntity<SpaceDto> {
|
||||
})
|
||||
subspaces?: SubspaceEntity[];
|
||||
|
||||
// Position columns
|
||||
@Column({ type: 'float', nullable: false, default: 0 })
|
||||
public x: number; // X coordinate for position
|
||||
|
||||
@Column({ type: 'float', nullable: false, default: 0 })
|
||||
public y: number; // Y coordinate for position
|
||||
|
||||
@OneToMany(
|
||||
() => DeviceEntity,
|
||||
(devicesSpaceEntity) => devicesSpaceEntity.spaceDevice,
|
||||
|
Reference in New Issue
Block a user