Init
This commit is contained in:
15
frontend/src/app/api/dtos/EntityLink/EntityLinkDto.ts
Normal file
15
frontend/src/app/api/dtos/EntityLink/EntityLinkDto.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { type ObjectState } from '@/shared';
|
||||
|
||||
export class EntityLinkDto {
|
||||
sourceId: number;
|
||||
targetId: number;
|
||||
sortOrder: number;
|
||||
state: ObjectState;
|
||||
|
||||
constructor({ sourceId, targetId, sortOrder, state }: EntityLinkDto) {
|
||||
this.sourceId = sourceId;
|
||||
this.targetId = targetId;
|
||||
this.sortOrder = sortOrder;
|
||||
this.state = state;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user