개정판 709c1971
issue #0000
전체 유저 리스트 추가
문서 저장/수정/삭제 추가 진행
Change-Id: I828d95f415d5d360bfc039625eb7aa42fd4135c2
ID2.Manager/ID2.Manager.Data/Models/Documents.cs | ||
---|---|---|
9 | 9 |
namespace ID2.Manager.Data.Models |
10 | 10 |
{ |
11 | 11 |
[DataContract] |
12 |
public class Documents |
|
12 |
public class Documents : IEquatable<Documents>
|
|
13 | 13 |
{ |
14 | 14 |
[DataMember] |
15 | 15 |
public int Seq { get; set; } |
... | ... | |
123 | 123 |
public string DTIsRegSystem { get; set; } |
124 | 124 |
[DataMember] |
125 | 125 |
public string DTRemarks { get; set; } |
126 | ||
127 |
public override bool Equals(object obj) |
|
128 |
{ |
|
129 |
return Equals(obj as Documents); |
|
130 |
} |
|
131 | ||
132 |
public bool Equals(Documents other) |
|
133 |
{ |
|
134 |
return other != null && this.DocumentNo == other.DocumentNo && this.RevisonNo == other.RevisonNo && this.ProjectID == other.ProjectID && this.IsLatest == other.IsLatest |
|
135 |
&& this.AutoCADFilie == other.AutoCADFilie && this.PDFFile == other.PDFFile && this.MarkupLink == other.MarkupLink && this.AVEVALink == other.AVEVALink |
|
136 |
&& this.DocFilePath == other.DocFilePath && this.DocFileName == other.DocFileName && this.Place == other.Place && this.JobLevel == other.JobLevel && this.IsTypical == other.IsTypical |
|
137 |
&& this.PersonInCharge == other.PersonInCharge && this.IsDeleted == other.IsDeleted && this.ToIsDiscussion == other.ToIsDiscussion && this.ToRemarks == other.ToRemarks |
|
138 |
&& this.ToCreator == other.ToCreator && this.ToModifier == other.ToModifier && this.ToCapturePath == other.ToCapturePath && this.ToIsMarkup == other.ToIsMarkup |
|
139 |
&& this.FrReviewStatus == other.FrReviewStatus && this.FrRemarks == other.FrRemarks && this.FrCreator == other.FrCreator && this.FrModifier == other.FrModifier |
|
140 |
&& this.FrCapturePath == other.FrCapturePath && this.FrIsMarkup == other.FrIsMarkup && this.IsID2Work == other.IsID2Work && this.ID2Connection == other.ID2Connection |
|
141 |
&& this.ID2StartDate == other.ID2StartDate && this.ID2EndDate == other.ID2EndDate && this.ID2JobTime == other.ID2JobTime && this.ID2Status == other.ID2Status |
|
142 |
&& this.ID2Issues == other.ID2Issues && this.AVEVAConnection == other.AVEVAConnection && this.AVEVAConvertDate == other.AVEVAConvertDate && this.AVEVAReviewDate == other.AVEVAReviewDate |
|
143 |
&& this.AVEVAStatus == other.AVEVAStatus && this.AVEVAIssues == other.AVEVAIssues && this.ReviewFilePath == other.ReviewFilePath && this.ReviewFileName == other.ReviewFileName |
|
144 |
&& this.ProdReviewer == other.ProdReviewer && this.ProdIsResult == other.ProdIsResult && this.ProdRemarks == other.ProdRemarks && this.ClientReviewer == other.ClientReviewer |
|
145 |
&& this.ClientIsResult == other.ClientIsResult && this.ClientRemarks == other.ClientRemarks && this.DTIsGateWay == other.DTIsGateWay && this.DTIsImport == other.DTIsImport |
|
146 |
&& this.DTIsRegSystem == other.DTIsRegSystem && this.DTRemarks == other.DTRemarks; |
|
147 | ||
148 |
} |
|
149 |
public override int GetHashCode() |
|
150 |
{ |
|
151 |
return this.DocumentNo.GetHashCode() + this.RevisonNo.GetHashCode() + this.ProjectID.GetHashCode() + this.IsLatest.GetHashCode() |
|
152 |
+ this.AutoCADFilie.GetHashCode() + this.PDFFile.GetHashCode() + this.MarkupLink.GetHashCode() + this.AVEVALink.GetHashCode() |
|
153 |
+ this.DocFilePath.GetHashCode() + this.DocFileName.GetHashCode() + this.Place.GetHashCode() + this.JobLevel.GetHashCode() + this.IsTypical.GetHashCode() |
|
154 |
+ this.PersonInCharge.GetHashCode() + this.IsDeleted.GetHashCode() + this.ToIsDiscussion.GetHashCode() + this.ToRemarks.GetHashCode() |
|
155 |
+ this.ToCreator.GetHashCode() + this.ToModifier.GetHashCode() + this.ToCapturePath.GetHashCode() + this.ToIsMarkup.GetHashCode() |
|
156 |
+ this.FrReviewStatus.GetHashCode() + this.FrRemarks.GetHashCode() + this.FrCreator.GetHashCode() + this.FrModifier.GetHashCode() |
|
157 |
+ this.FrCapturePath.GetHashCode() + this.FrIsMarkup.GetHashCode() + this.IsID2Work.GetHashCode() + this.ID2Connection.GetHashCode() |
|
158 |
+ this.ID2StartDate.GetHashCode() + this.ID2EndDate.GetHashCode() + this.ID2JobTime.GetHashCode() + this.ID2Status.GetHashCode() |
|
159 |
+ this.ID2Issues.GetHashCode() + this.AVEVAConnection.GetHashCode() + this.AVEVAConvertDate.GetHashCode() + this.AVEVAReviewDate.GetHashCode() |
|
160 |
+ this.AVEVAStatus.GetHashCode() + this.AVEVAIssues.GetHashCode() + this.ReviewFilePath.GetHashCode() + this.ReviewFileName.GetHashCode() |
|
161 |
+ this.ProdReviewer.GetHashCode() + this.ProdIsResult.GetHashCode() + this.ProdRemarks.GetHashCode() + this.ClientReviewer.GetHashCode() |
|
162 |
+ this.ClientIsResult.GetHashCode() + this.ClientRemarks.GetHashCode() + this.DTIsGateWay.GetHashCode() + this.DTIsImport.GetHashCode() |
|
163 |
+ this.DTIsRegSystem.GetHashCode() + this.DTRemarks.GetHashCode(); |
|
164 |
} |
|
126 | 165 |
} |
127 | 166 |
} |
내보내기 Unified diff