using System;
using System.Collections.Generic;
using System.Linq;
namespace IStation.Model
{
///
/// 信号类型组
///
public class SignalTypeGroup : BaseModel, System.ICloneable
{
///
///
///
public SignalTypeGroup() { }
///
///
///
public SignalTypeGroup(SignalTypeGroup rhs) : base(rhs)
{
ParentIds = rhs.ParentIds?.ToList();
Name = rhs.Name;
SortCode = rhs.SortCode;
Description = rhs.Description;
}
///
///
///
public void Reset(SignalTypeGroup rhs)
{
ID = rhs.ID;
ParentIds = rhs.ParentIds?.ToList();
Name = rhs.Name;
SortCode = rhs.SortCode;
Description = rhs.Description;
}
///
/// 父级id列表
///
public List ParentIds { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
///
///
public SignalTypeGroup Clone()
{
return new SignalTypeGroup(this);
}
object ICloneable.Clone()
{
return Clone();
}
}
}