hytos / ID2.Manager / ID2.Manager.Data / Models / MarkupText.cs @ 79d7836e
이력 | 보기 | 이력해설 | 다운로드 (1.05 KB)
1 | c0b49a75 | taeseongkim | 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 | 0b008ea6 | taeseongkim | public string PROJECT_NO { get; set; } |
13 | 23527891 | taeseongkim | |
14 | e458a996 | taeseongkim | public string CREATE_USER { get; set; } |
15 | 0b008ea6 | taeseongkim | |
16 | e458a996 | taeseongkim | public string DocumentNo { get; set; } |
17 | 0b008ea6 | taeseongkim | |
18 | public string TEXT { get; set; } |
||
19 | public DateTime CREATE_DATE { get; set; } |
||
20 | c0b49a75 | taeseongkim | |
21 | |||
22 | public bool Equals(MarkupText other) |
||
23 | { |
||
24 | e458a996 | taeseongkim | return other != null |
25 | && PROJECT_NO == other.PROJECT_NO |
||
26 | && CREATE_USER == other.CREATE_USER |
||
27 | && TEXT == other.TEXT |
||
28 | && CREATE_DATE == other.CREATE_DATE |
||
29 | && DocumentNo == other.DocumentNo; |
||
30 | c0b49a75 | taeseongkim | } |
31 | |||
32 | public override int GetHashCode() |
||
33 | { |
||
34 | a37dc9a7 | taeseongkim | return this.CREATE_USER.GetNullableHash() + this.TEXT.GetNullableHash() + this.CREATE_DATE.GetNullableHash() + PROJECT_NO.GetNullableHash() + DocumentNo.GetNullableHash(); |
35 | c0b49a75 | taeseongkim | } |
36 | 0b008ea6 | taeseongkim | |
37 | |||
38 | c0b49a75 | taeseongkim | } |
39 | } |