프로젝트

일반

사용자정보

통계
| 개정판:

hytos / ID2.Manager / ID2.Manager.Data / Models / Documents.cs @ 709c1971

이력 | 보기 | 이력해설 | 다운로드 (8.38 KB)

1
using System;
2
using System.Collections.Generic;
3
using System.Linq;
4
using System.Text;
5
using System.Threading.Tasks;
6

    
7
using System.Runtime.Serialization;
8

    
9
namespace ID2.Manager.Data.Models
10
{
11
    [DataContract]
12
    public class Documents : IEquatable<Documents>
13
    {
14
        [DataMember]
15
        public int Seq { get; set; }
16
        [DataMember]
17
        public string DocID { get; set; }
18
        [DataMember]
19
        public string DocumentNo { get; set; }
20
        [DataMember]
21
        public string RevisonNo { get; set; }
22
        [DataMember]
23
        public string ProjectID { get; set; }
24
        [DataMember]
25
        public bool IsLatest { get; set; }
26
        [DataMember]
27
        public string AutoCADFilie { get; set; }
28
        [DataMember]
29
        public string PDFFile { get; set; }
30
        [DataMember]
31
        public string MarkupLink { get; set; }
32
        [DataMember]
33
        public string AVEVALink { get; set; }
34
        [DataMember]
35
        public string DocFilePath { get; set; }
36
        [DataMember]
37
        public string DocFileName { get; set; }
38
        [DataMember]
39
        public string Place { get; set; }
40
        [DataMember]
41
        public string JobLevel { get; set; }
42
        [DataMember]
43
        public string IsTypical { get; set; }
44
        [DataMember]
45
        public string PersonInCharge { get; set; }
46
        [DataMember]
47
        public bool IsDeleted { get; set; }
48
        [DataMember]
49
        public DateTime RegisteredDate { get; set; }
50
        [DataMember]
51
        public DateTime? ModifiedDate { get; set; }
52
        [DataMember]
53
        public DateTime? DeletedDate { get; set; }
54
        [DataMember]
55
        public string ToIsDiscussion { get; set; }
56
        [DataMember]
57
        public string ToRemarks { get; set; }
58
        [DataMember]
59
        public string ToCreator { get; set; }
60
        [DataMember]
61
        public string ToModifier { get; set; }
62
        [DataMember]
63
        public string ToCapturePath { get; set; }
64
        [DataMember]
65
        public string ToIsMarkup { get; set; }
66
        [DataMember]
67
        public string FrReviewStatus { get; set; }
68
        [DataMember]
69
        public string FrRemarks { get; set; }
70
        [DataMember]
71
        public string FrCreator { get; set; }
72
        [DataMember]
73
        public string FrModifier { get; set; }
74
        [DataMember]
75
        public string FrCapturePath { get; set; }
76
        [DataMember]
77
        public string FrIsMarkup { get; set; }
78
        [DataMember]
79
        public string IsID2Work { get; set; }
80
        [DataMember]
81
        public string ID2Connection { get; set; }
82
        [DataMember]
83
        public DateTime? ID2StartDate { get; set; }
84
        [DataMember]
85
        public DateTime? ID2EndDate { get; set; }
86
        [DataMember]
87
        public int ID2JobTime { get; set; }
88
        [DataMember]
89
        public string ID2Status { get; set; }
90
        [DataMember]
91
        public string ID2Issues { get; set; }
92
        [DataMember]
93
        public string AVEVAConnection { get; set; }
94
        [DataMember]
95
        public DateTime? AVEVAConvertDate { get; set; }
96
        [DataMember]
97
        public DateTime? AVEVAReviewDate { get; set; }
98
        [DataMember]
99
        public string AVEVAStatus { get; set; }
100
        [DataMember]
101
        public string AVEVAIssues { get; set; }
102
        [DataMember]
103
        public string ReviewFilePath { get; set; }
104
        [DataMember]
105
        public string ReviewFileName { get; set; }
106
        [DataMember]
107
        public string ProdReviewer { get; set; }
108
        [DataMember]
109
        public string ProdIsResult { get; set; }
110
        [DataMember]
111
        public string ProdRemarks { get; set; }
112
        [DataMember]
113
        public string ClientReviewer { get; set; }
114
        [DataMember]
115
        public string ClientIsResult { get; set; }
116
        [DataMember]
117
        public string ClientRemarks { get; set; }
118
        [DataMember]
119
        public string DTIsGateWay { get; set; }
120
        [DataMember]
121
        public string DTIsImport { get; set; }
122
        [DataMember]
123
        public string DTIsRegSystem { get; set; }
124
        [DataMember]
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
        }
165
    }
166
}
클립보드 이미지 추가 (최대 크기: 500 MB)