개정판 ed279b4c
issue #00000 documents markuptext 수정
Change-Id: I94c426d7f8f33cea8f38d884802877c32718ec38
ID2.Manager/ID2.Manager.Data/Models/MarkupText.cs | ||
---|---|---|
11 | 11 |
{ |
12 | 12 |
public string PROJECT_NO { get; set; } |
13 | 13 |
|
14 |
public string NAME { get; set; }
|
|
14 |
public string CREATE_USER { get; set; }
|
|
15 | 15 |
|
16 |
public string DOCUMENT_ID { get; set; }
|
|
16 |
public string DocumentNo { get; set; }
|
|
17 | 17 |
|
18 | 18 |
public string TEXT { get; set; } |
19 | 19 |
public DateTime CREATE_DATE { get; set; } |
... | ... | |
21 | 21 |
|
22 | 22 |
public bool Equals(MarkupText other) |
23 | 23 |
{ |
24 |
return other != null |
|
25 |
&& NAME == other.NAME |
|
24 |
return other != null |
|
25 |
&& PROJECT_NO == other.PROJECT_NO |
|
26 |
&& CREATE_USER == other.CREATE_USER |
|
26 | 27 |
&& TEXT == other.TEXT |
27 | 28 |
&& CREATE_DATE == other.CREATE_DATE |
28 |
&& DOCUMENT_ID == other.DOCUMENT_ID;
|
|
29 |
&& DocumentNo == other.DocumentNo;
|
|
29 | 30 |
} |
30 | 31 |
|
31 | 32 |
public override int GetHashCode() |
32 | 33 |
{ |
33 |
return this.TEXT.GetHashCode() + this.CREATE_DATE.GetHashCode() + NAME.GetHashCode() + DOCUMENT_ID.GetHashCode();
|
|
34 |
return this.CREATE_USER.GetNullableHash() + this.TEXT.GetNullableHash() + this.CREATE_DATE.GetNullableHash() + PROJECT_NO.GetNullableHash() + DocumentNo.GetNullableHash();
|
|
34 | 35 |
} |
35 | 36 |
|
36 | 37 |
|
내보내기 Unified diff