ulysseskao
2016-05-01 94d9897717deebb9e636e2055a1672bc8aaf461d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
//------------------------------------------------------------------------------
// This is auto-generated code.
//------------------------------------------------------------------------------
// This code was generated by Entity Developer tool using NHibernate template.
// Code is generated on: 2016/4/29 下午 04:34:25
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//------------------------------------------------------------------------------
 
using System;
 
namespace CCSTrace.TPower.DMMS.Model.CCS
{
 
    /// <summary>
    /// There are no comments for TaiPower.Dmm.Model.CCS.CODELIST in the schema.
    /// </summary>
    public partial class CODELIST {
    
        #region Extensibility Method Definitions
        
        /// <summary>
        /// There are no comments for OnCreated in the schema.
        /// </summary>
        partial void OnCreated();
 
        public override bool Equals(object obj)
        {
          CODELIST toCompare = obj as CODELIST;
          if (toCompare == null)
          {
            return false;
          }
 
          if (!Object.Equals(this.INDEXID, toCompare.INDEXID))
            return false;
          if (!Object.Equals(this.KEYID, toCompare.KEYID))
            return false;
          
          return true;
        }
 
        public override int GetHashCode()
        {
          int hashCode = 13;
          hashCode = (hashCode * 7) + INDEXID.GetHashCode();
          hashCode = (hashCode * 7) + KEYID.GetHashCode();
          return hashCode;
        }
        
        #endregion
        /// <summary>
        /// There are no comments for CODELIST constructor in the schema.
        /// </summary>
        public CODELIST()
        {
            OnCreated();
        }
 
        public CODELIST(int indexid, int keyid, string item, string content)
        {
            INDEXID = indexid;
            KEYID = keyid;
            ITEM = item;
            CONTENT = content;
        }
 
        /// <summary>
        /// There are no comments for INDEXID in the schema.
        /// </summary>
        public virtual int INDEXID
        {
            get;
            set;
        }
 
    
        /// <summary>
        /// There are no comments for KEYID in the schema.
        /// </summary>
        public virtual int KEYID
        {
            get;
            set;
        }
 
    
        /// <summary>
        /// There are no comments for ITEM in the schema.
        /// </summary>
        public virtual string ITEM
        {
            get;
            set;
        }
 
    
        /// <summary>
        /// There are no comments for CONTENT in the schema.
        /// </summary>
        public virtual string CONTENT
        {
            get;
            set;
        }
    }
 
}