개정판 1f583030
issue #0000
Equals RefProjectID 삭제 RefProjectCode 로 변경
Change-Id: I85a5eca57c1b19c9a7fc4a2a14caa39f701aed97
ID2.Manager/ID2.Manager.Data/Models/Documents.cs | ||
---|---|---|
131 | 131 |
|
132 | 132 |
public bool Equals(Documents other) |
133 | 133 |
{ |
134 |
return other != null && this.DocumentNo == other.DocumentNo && this.RevisonNo == other.RevisonNo && this.RefProjectID == other.RefProjectID && this.IsLatest == other.IsLatest
|
|
134 |
return other != null && this.DocumentNo == other.DocumentNo && this.RevisonNo == other.RevisonNo && this.RefProjectCode == other.RefProjectCode && this.IsLatest == other.IsLatest
|
|
135 | 135 |
&& this.AutoCADFilie == other.AutoCADFilie && this.PDFFile == other.PDFFile && this.MarkupLink == other.MarkupLink && this.AVEVALink == other.AVEVALink |
136 | 136 |
&& this.DocFilePath == other.DocFilePath && this.DocFileName == other.DocFileName && this.Place == other.Place && this.JobLevel == other.JobLevel && this.IsTypical == other.IsTypical |
137 | 137 |
&& this.PersonInCharge == other.PersonInCharge && this.IsDeleted == other.IsDeleted && this.ToIsDiscussion == other.ToIsDiscussion && this.ToRemarks == other.ToRemarks |
... | ... | |
148 | 148 |
} |
149 | 149 |
public override int GetHashCode() |
150 | 150 |
{ |
151 |
return this.DocumentNo.GetHashCode() + this.RevisonNo.GetHashCode() + this.RefProjectID.GetHashCode() + this.IsLatest.GetHashCode()
|
|
151 |
return this.DocumentNo.GetHashCode() + this.RevisonNo.GetHashCode() + this.RefProjectCode.GetHashCode() + this.IsLatest.GetHashCode()
|
|
152 | 152 |
+ this.AutoCADFilie.GetHashCode() + this.PDFFile.GetHashCode() + this.MarkupLink.GetHashCode() + this.AVEVALink.GetHashCode() |
153 | 153 |
+ this.DocFilePath.GetHashCode() + this.DocFileName.GetHashCode() + this.Place.GetHashCode() + this.JobLevel.GetHashCode() + this.IsTypical.GetHashCode() |
154 | 154 |
+ this.PersonInCharge.GetHashCode() + this.IsDeleted.GetHashCode() + this.ToIsDiscussion.GetHashCode() + this.ToRemarks.GetHashCode() |
내보내기 Unified diff