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