blob: 0d1755f150ec916f70cadeb4c1b6d8aafc8db9f2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
|
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;
}
}
|