//------------------------------------------------------------------------------ // This is auto-generated code. //------------------------------------------------------------------------------ // This code was generated by Entity Developer tool using NHibernate template. // Code is generated on: 2016/4/29 下午 04:39:04 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. //------------------------------------------------------------------------------ using System; namespace CCSTrace.TPower.DMMS.Model.EOS { /// /// There are no comments for TaiPower.Dmm.Model.EOS.CODELIST in the schema. /// public partial class CODELIST { #region Extensibility Method Definitions /// /// There are no comments for OnCreated in the schema. /// 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 /// /// There are no comments for CODELIST constructor in the schema. /// public CODELIST() { OnCreated(); } /// /// There are no comments for INDEXID in the schema. /// public virtual int INDEXID { get; set; } /// /// There are no comments for KEYID in the schema. /// public virtual int KEYID { get; set; } /// /// There are no comments for ITEM in the schema. /// public virtual string ITEM { get; set; } /// /// There are no comments for CONTENT in the schema. /// public virtual string CONTENT { get; set; } } }