hytos / ID2.Manager / ID2.Manager.Data / Models / MarkupText.cs @ 08499f5f
이력 | 보기 | 이력해설 | 다운로드 (1.2 KB)
1 |
using System; |
---|---|
2 |
using System.Collections; |
3 |
using System.Collections.Generic; |
4 |
using System.Linq; |
5 |
using System.Text; |
6 |
using System.Threading.Tasks; |
7 |
|
8 |
namespace ID2.Manager.Data.Models |
9 |
{ |
10 |
public class MarkupText : IEquatable<MarkupText> |
11 |
{ |
12 |
public string MARKUP_DATA_ID { get; set; } |
13 |
public string PROJECT_NO { get; set; } |
14 |
|
15 |
public string CREATE_USER { get; set; } |
16 |
|
17 |
public string DocumentNo { get; set; } |
18 |
|
19 |
public string TEXT { get; set; } |
20 |
public DateTime CREATE_DATE { get; set; } |
21 |
|
22 |
|
23 |
public bool Equals(MarkupText other) |
24 |
{ |
25 |
return other != null |
26 |
&& MARKUP_DATA_ID == other.MARKUP_DATA_ID |
27 |
&& PROJECT_NO == other.PROJECT_NO |
28 |
&& CREATE_USER == other.CREATE_USER |
29 |
&& TEXT == other.TEXT |
30 |
&& CREATE_DATE == other.CREATE_DATE |
31 |
&& DocumentNo == other.DocumentNo; |
32 |
} |
33 |
|
34 |
public override int GetHashCode() |
35 |
{ |
36 |
return this.MARKUP_DATA_ID.GetNullableHash() + this.CREATE_USER.GetNullableHash() + this.TEXT.GetNullableHash() + this.CREATE_DATE.GetNullableHash() + PROJECT_NO.GetNullableHash() + DocumentNo.GetNullableHash(); |
37 |
} |
38 |
|
39 |
|
40 |
} |
41 |
} |