using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using SqlSugar;
namespace IStation.Entity
{
///
/// 建筑物
///
[SugarTable("building")]
public class Building : CorpTraceEntity, System.ICloneable,ISorter,IUseStatus,ITagName,ITerminalId
{
///
///
///
public Building() { }
///
///
///
public Building(Building rhs) : base(rhs)
{
this.BelongType = rhs.BelongType;
this.BelongID = rhs.BelongID;
this.Type = rhs.Type;
this.Name = rhs.Name;
this.Height = rhs.Height;
this.TotalFloors = rhs.TotalFloors;
this.Address = rhs.Address;
this.TerminalId = rhs.TerminalId;
this.TagName = rhs.TagName;
this.UseStatus = rhs.UseStatus;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 所属类型
///
public string BelongType
{
get { return _belongtype; }
set { _belongtype = value; }
}
private string _belongtype;
///
/// 所属标识
///
public long BelongID
{
get { return _belongid; }
set { _belongid = value; }
}
private long _belongid;
///
/// 建筑类型
///
public string Type
{
get { return _type; }
set { _type = value; }
}
private string _type;
///
/// 名称
///
public string Name
{
get { return _name; }
set { _name = value; }
}
private string _name;
///
/// 高度 m
///
public double? Height
{
get { return _height; }
set { _height = value; }
}
private double? _height;
///
/// 层数
///
public int? TotalFloors
{
get { return _totalfloors; }
set { _totalfloors = value; }
}
private int? _totalfloors;
///
/// 地址
///
public string Address
{
get { return _address; }
set { _address = value; }
}
private string _address;
///
/// 终端标识
///
public string TerminalId
{
get { return _terminalid; }
set { _terminalid = value; }
}
private string _terminalid;
///
/// 标签
///
public string TagName
{
get { return _tagname; }
set { _tagname = value; }
}
private string _tagname;
///
/// 使用状态
///
public int UseStatus
{
get { return _usestatus; }
set { _usestatus = value; }
}
private int _usestatus;
///
/// 排序码
///
public int SortCode
{
get { return _sortcode; }
set { _sortcode = value; }
}
private int _sortcode;
///
/// 说明
///
public string Description
{
get { return _description; }
set { _description = value; }
}
private string _description;
///
///
///
public Building Clone()
{
return (Building)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}