using System;
|
using System.ComponentModel.DataAnnotations;
|
|
namespace IStation.Model
|
{
|
/// <summary>
|
/// 泵站
|
/// </summary>
|
public partial class Station : System.ICloneable
|
{
|
public Station() { }
|
public Station(Station rhs)
|
{
|
this.ID = rhs.ID;
|
this.Name = rhs.Name;
|
this.TagName = rhs.TagName;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
}
|
|
public void Reset(Station rhs)
|
{
|
this.ID = rhs.ID;
|
this.Name = rhs.Name;
|
this.TagName = rhs.TagName;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
}
|
|
/// <summary>
|
/// 自增标识
|
/// </summary>
|
[Display(Name = "自增标识")]
|
public long ID { get; set; }
|
|
/// <summary>
|
/// 名称
|
/// </summary>
|
[Display(Name = "名称")]
|
public string Name { get; set; }
|
|
/// <summary>
|
/// 标签
|
/// </summary>
|
[Display(Name = "标签名称")]
|
public string TagName { get; set; }
|
|
/// <summary>
|
/// 排序码
|
/// </summary>
|
[Display(Name = "排序码")]
|
public int SortCode { get; set; }
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
[Display(Name = "说明")]
|
public string Description { get; set; }
|
|
public Station Clone()
|
{
|
return (Station)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
}
|