Website Summary Files Commits Branches @commit @diff @stats
path: root / src / models / comment.ts
diff options
context:
space:
mode:
Commitf849e37ccdd6fd48f83119a3b3b65cdd8b765dc3 (patch)
Author
 Kamen Mladenov <kamen.d.mladenov@protonmail.com>
2021-04-09 19:55:59 +0300
Committer
 GitHub <noreply@github.com>
2021-04-09 19:55:59 +0300
Files83b88a773bb7dc053bb3aced35bce302264ec925 /src/models/comment.ts
DevHive-Angular-main.tar
DevHive-Angular-main.tar.gz
DevHive-Angular-main.zip
Parentbcd88af53b1a920d728ec98b45daa9ac2e2c0917 (diff)
Parentc13889759d70687de6833c505221c203f65fedb8 (diff)
Merge pull request #7 from Team-Kaleidoscope/dev HEAD v0.2 main
Second Stage: Complete
1 files changed, 0 insertions, 70 deletions
-rw-r--r--src/models/comment.ts70
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;
- }
-}