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 DataDockingConfigure : System.ICloneable { /// /// /// public DataDockingConfigure() { } /// /// /// public DataDockingConfigure(DataDockingConfigure rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.Name = rhs.Name; this.DataFormat = rhs.DataFormat; this.DockingMode = rhs.DockingMode; this.ConfigureParas = rhs.ConfigureParas; this.Mappers = rhs.Mappers?.Select(x=>new Mapper(x)).ToList(); 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(DataDockingConfigure rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.Name = rhs.Name; this.DataFormat = rhs.DataFormat; this.DockingMode = rhs.DockingMode; this.ConfigureParas = rhs.ConfigureParas; this.Mappers = rhs.Mappers?.Select(x => new Mapper(x)).ToList(); 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 Name { get; set; } /// /// 数据格式 /// public eDataFormat DataFormat { get; set; } /// /// 对接方式 /// public eDockingMode DockingMode { get; set; } /// /// 配置参数 /// public string ConfigureParas { get; set; } /// /// 映射关系 /// public List Mappers { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 使用状态 /// public eUseStatus UseStatus { 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 DataDockingConfigure Clone() { return (DataDockingConfigure)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }