//------------------------------------------------------------------------------
// 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
{
///
/// There are no comments for TaiPower.Dmm.Model.CCS.NUMCONTRAST in the schema.
///
public partial class NUMCONTRAST {
#region Extensibility Method Definitions
///
/// There are no comments for OnCreated in the schema.
///
partial void OnCreated();
public override bool Equals(object obj)
{
NUMCONTRAST toCompare = obj as NUMCONTRAST;
if (toCompare == null)
{
return false;
}
if (!Object.Equals(this.CCSID, toCompare.CCSID))
return false;
if (!Object.Equals(this.ACCEPTNUM, toCompare.ACCEPTNUM))
return false;
if (!Object.Equals(this.CASEID, toCompare.CASEID))
return false;
return true;
}
public override int GetHashCode()
{
int hashCode = 13;
hashCode = (hashCode * 7) + CCSID.GetHashCode();
hashCode = (hashCode * 7) + ACCEPTNUM.GetHashCode();
hashCode = (hashCode * 7) + CASEID.GetHashCode();
return hashCode;
}
#endregion
///
/// There are no comments for NUMCONTRAST constructor in the schema.
///
public NUMCONTRAST()
{
OnCreated();
}
///
/// There are no comments for CCSID in the schema.
///
public virtual string CCSID
{
get;
set;
}
///
/// There are no comments for ACCEPTNUM in the schema.
///
public virtual string ACCEPTNUM
{
get;
set;
}
///
/// There are no comments for CASEID in the schema.
///
public virtual long CASEID
{
get;
set;
}
}
}