//------------------------------------------------------------------------------
|
// 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.ADDRCONTRAST in the schema.
|
/// </summary>
|
public partial class ADDRCONTRAST {
|
|
#region Extensibility Method Definitions
|
|
/// <summary>
|
/// There are no comments for OnCreated in the schema.
|
/// </summary>
|
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
|
/// <summary>
|
/// There are no comments for ADDRCONTRAST constructor in the schema.
|
/// </summary>
|
public ADDRCONTRAST()
|
{
|
OnCreated();
|
}
|
|
|
/// <summary>
|
/// There are no comments for DEPTID in the schema.
|
/// </summary>
|
public virtual int DEPTID
|
{
|
get;
|
set;
|
}
|
|
|
/// <summary>
|
/// There are no comments for CITY in the schema.
|
/// </summary>
|
public virtual string CITY
|
{
|
get;
|
set;
|
}
|
|
|
/// <summary>
|
/// There are no comments for TOWN in the schema.
|
/// </summary>
|
public virtual string TOWN
|
{
|
get;
|
set;
|
}
|
|
|
/// <summary>
|
/// There are no comments for ROAD in the schema.
|
/// </summary>
|
public virtual string ROAD
|
{
|
get;
|
set;
|
}
|
}
|
|
}
|