using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using System.ComponentModel.DataAnnotations; namespace IStation.Model { /// /// 建筑物 /// public partial class Building : System.ICloneable { /// /// /// public Building() { } /// /// /// public Building(Building rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; 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; this.CreateUserID = rhs.CreateUserID; this.CreateTime = rhs.CreateTime; this.UpdateUserID = rhs.UpdateUserID; this.UpdateTime = rhs.UpdateTime; } /// /// /// public void Reset(Building rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; 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; this.CreateUserID = rhs.CreateUserID; this.CreateTime = rhs.CreateTime; this.UpdateUserID = rhs.UpdateUserID; this.UpdateTime = rhs.UpdateTime; } /// /// 标识 /// public long ID { get; set; } /// /// 客户标识 /// public long CorpID { get; set; } /// /// 所属类型 /// public string BelongType { get; set; } /// /// 所属标识 /// public long BelongID { get; set; } /// /// 建筑类型 /// public string Type { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 高度 /// public double? Height { get; set; } /// /// 层数 /// public int? TotalFloors { get; set; } /// /// 地址 /// public string Address { get; set; } /// /// 终端标识 /// public string TerminalId { get; set; } /// /// 标签 /// public string TagName { get; set; } /// /// 使用状态 /// public eUseStatus UseStatus { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// 创建用户标识 /// public long CreateUserID { get; set; } /// /// 创建时间 /// public DateTime CreateTime { get; set; } /// /// 更新用户标识 /// public long? UpdateUserID { get; set; } /// /// 更新时间 /// public DateTime? UpdateTime { get; set; } /// /// /// public Building Clone() { return (Building)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }