23 lines
326 B
TypeScript
23 lines
326 B
TypeScript
|
import { Run } from "./run";
|
||
|
|
||
|
export class Delete {
|
||
|
run: Run;
|
||
|
|
||
|
_author: string | null = null;
|
||
|
_date: string | null = null;
|
||
|
|
||
|
constructor(run: Run) {
|
||
|
this.run = run;
|
||
|
}
|
||
|
|
||
|
author(author: string) {
|
||
|
this._author = author;
|
||
|
return this;
|
||
|
}
|
||
|
|
||
|
date(date: string) {
|
||
|
this._date = date;
|
||
|
return this;
|
||
|
}
|
||
|
}
|