mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 21:08:12 +00:00
24 lines
732 B
TypeScript
24 lines
732 B
TypeScript
import { FFClient, FFClientRelationship } from '../entities/ff-client.entity';
|
|
|
|
export class ResponseFFClientDto {
|
|
id: string;
|
|
forwarderCompanyId: string;
|
|
clientCompanyId: string;
|
|
relationshipType: FFClientRelationship;
|
|
canBookOnBehalf: boolean;
|
|
canViewDocuments: boolean;
|
|
createdAt: Date;
|
|
updatedAt: Date;
|
|
|
|
constructor(client: FFClient) {
|
|
this.id = client.id;
|
|
this.forwarderCompanyId = client.forwarderCompanyId;
|
|
this.clientCompanyId = client.clientCompanyId;
|
|
this.relationshipType = client.relationshipType;
|
|
this.canBookOnBehalf = client.canBookOnBehalf;
|
|
this.canViewDocuments = client.canViewDocuments;
|
|
this.createdAt = client.createdAt;
|
|
this.updatedAt = client.updatedAt;
|
|
}
|
|
}
|