diff options
| author | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-03-14 09:03:03 +0200 |
|---|---|---|
| committer | Syndamia <kamen.d.mladenov@protonmail.com> | 2021-03-14 09:03:03 +0200 |
| commit | e8fef550d576aa3eba9d51ea70a3beeac6157ba5 (patch) | |
| tree | e9bd5624f472998749905edaac36a96b797c5033 /src/models/comment.ts | |
| parent | 95bcb91f281049fef320c788b71b0731b4910108 (diff) | |
| download | DevHive-Angular-e8fef550d576aa3eba9d51ea70a3beeac6157ba5.tar DevHive-Angular-e8fef550d576aa3eba9d51ea70a3beeac6157ba5.tar.gz DevHive-Angular-e8fef550d576aa3eba9d51ea70a3beeac6157ba5.zip | |
Renamed all models to have proper naming (from model-name.ts to model-name.model.ts), updated includes of services
Diffstat (limited to 'src/models/comment.ts')
| -rw-r--r-- | src/models/comment.ts | 70 |
1 files changed, 0 insertions, 70 deletions
diff --git a/src/models/comment.ts b/src/models/comment.ts deleted file mode 100644 index 0d1755f..0000000 --- a/src/models/comment.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Guid } from 'guid-typescript'; - -export class Comment { - private _commentId: Guid; - private _postId: Guid; - private _issuerFirstName: string; - private _issuerLastName: string; - private _issuerUsername: string; - private _message: string; - private _timeCreated: Date; - - constructor(commentId: Guid, postId: Guid, issuerFirstName: string, issuerLastName: string, issuerUsername: string, message: string, timeCreated: Date) { - this.commentId = commentId; - this.postId = postId; - this.issuerFirstName = issuerFirstName; - this.issuerLastName = issuerLastName; - this.issuerUsername = issuerUsername; - this.message = message; - this.timeCreated = timeCreated; - } - - public get commentId(): Guid { - return this._commentId; - } - public set commentId(v: Guid) { - this._commentId = v; - } - - public get postId(): Guid { - return this._postId; - } - public set postId(v: Guid) { - this._postId = v; - } - - public get issuerFirstName(): string { - return this._issuerFirstName; - } - public set issuerFirstName(v: string) { - this._issuerFirstName = v; - } - - public get issuerLastName(): string { - return this._issuerLastName; - } - public set issuerLastName(v: string) { - this._issuerLastName = v; - } - - public get issuerUsername(): string { - return this._issuerUsername; - } - public set issuerUsername(v: string) { - this._issuerUsername = v; - } - - public get message(): string { - return this._message; - } - public set message(v: string) { - this._message = v; - } - - public get timeCreated(): Date { - return this._timeCreated; - } - public set timeCreated(v: Date) { - this._timeCreated = v; - } -} |
