using Yw.Model;
namespace HStation.Model
{
///
/// 业务站
///
[SysType("xhs-project")]
public partial class XhsProject : BaseModel, IParas, IFlags, ITagName, ISorter, IUseStatus, System.ICloneable
{
///
///
///
public XhsProject()
{ }
///
///
///
public XhsProject(XhsProject rhs) : base(rhs)
{
this.GID = rhs.GID;
this.Name = rhs.Name;
this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras);
this.Flags = rhs.Flags?.ToList();
this.TagName = rhs.TagName;
this.UseStatus = rhs.UseStatus;
this.CreateTime = rhs.CreateTime;
this.CreateUserID = rhs.CreateUserID;
this.MapPosition = rhs.MapPosition;
this.CreateUserDisplayName = rhs.CreateUserDisplayName;
this.SortCode = rhs.SortCode;
this.CustomerName = rhs.CustomerName;
this.Address = rhs.Address;
this.Description = rhs.Description;
}
///
///
///
public void Reset(XhsProject rhs)
{
this.GID = rhs.GID;
this.Name = rhs.Name;
this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras);
this.Flags = rhs.Flags?.ToList();
this.TagName = rhs.TagName;
this.UseStatus = rhs.UseStatus;
this.CreateTime = rhs.CreateTime;
this.CreateUserID = rhs.CreateUserID;
this.MapPosition = rhs.MapPosition;
this.CreateUserDisplayName = rhs.CreateUserDisplayName;
this.SortCode = rhs.SortCode;
this.CustomerName = rhs.CustomerName;
this.Address = rhs.Address;
this.Description = rhs.Description;
}
///
/// GUID 用于升级
///
public string GID { get; set; }
///
/// 项目编号
///
public string PrjNumber { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 参数
///
public Dictionary Paras { get; set; }
///
/// 标签
///
public List Flags { get; set; }
///
/// 标志
///
public string TagName { get; set; }
///
/// 使用状态
///
public Yw.Model.eUseStatus UseStatus { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
/// 创建人
///
public long CreateUserID { get; set; }
///
/// 创建显示名称
///
public string CreateUserDisplayName { get; set; }
///
/// 创建时间
///
public DateTime CreateTime { get; set; }
///
/// 版本
///
public int Version { get; set; }
///
/// 项目地址(经度,维度)
///
public string MapPosition { get; set; }
///
/// 项目详细地址
///
public string Address { get; set; }
///
/// 项目的客户名称
///
public string CustomerName { get; set; }
///
///
///
public XhsProject Clone()
{
return new XhsProject(this);
}
object ICloneable.Clone()
{
return Clone();
}
}
}