//------------------------------------------------------------------------------
// 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;
using System.Collections;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Collections.Generic;
namespace TaiPower.Dmm.Model.CCS
{
///
/// There are no comments for TaiPower.Dmm.Model.CCS.DEPTCONTRAST in the schema.
///
public partial class DEPTCONTRAST {
#region Extensibility Method Definitions
///
/// There are no comments for OnCreated in the schema.
///
partial void OnCreated();
public override bool Equals(object obj)
{
DEPTCONTRAST toCompare = obj as DEPTCONTRAST;
if (toCompare == null)
{
return false;
}
if (!Object.Equals(this.SCCODE, toCompare.SCCODE))
return false;
if (!Object.Equals(this.DEPTCODE, toCompare.DEPTCODE))
return false;
return true;
}
public override int GetHashCode()
{
int hashCode = 13;
hashCode = (hashCode * 7) + SCCODE.GetHashCode();
hashCode = (hashCode * 7) + DEPTCODE.GetHashCode();
return hashCode;
}
#endregion
///
/// There are no comments for DEPTCONTRAST constructor in the schema.
///
public DEPTCONTRAST()
{
OnCreated();
}
///
/// There are no comments for SCCODE in the schema.
///
public virtual string SCCODE
{
get;
set;
}
///
/// There are no comments for DEPTCODE in the schema.
///
public virtual string DEPTCODE
{
get;
set;
}
///
/// There are no comments for MAXMETER in the schema.
///
public virtual string MAXMETER
{
get;
set;
}
///
/// There are no comments for MINMETER in the schema.
///
public virtual string MINMETER
{
get;
set;
}
}
}