| //------------------------------------------------------------------------------ | 
| // 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; | 
|         } | 
|     } | 
|   | 
| } |