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