hugolxt ead8f43b7f
Staging implementation (#9)
The creation of a single repository is no longer relevant. Therefore, we
have to separate the front and back repo into two distinct repositories.
This PR allows to repatriate the work on dev branch
2023-03-15 14:40:23 +01:00

37 lines
607 B
TypeScript

import ProjectEntity from "./ProjectEntity";
export default class MetricEntity {
public uuid!: string;
public path!: string;
public remote_address!: string;
public date_requested!: Date;
public projectUuid!: string;
public project!: ProjectEntity;
public createdAt?: Date;
public updatedAt?: Date;
set remoteAddress(remote_address: string) {
this.remote_address = remote_address;
}
get remoteAddress() {
return this.remote_address;
}
set dateRequested(date_requested: Date) {
this.date_requested = date_requested;
}
get dateRequested() {
return this.date_requested;
}
}