using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StructureHelperCommon.Models.Forces
{
///
public class ColumnProperty : IColumnProperty
{
///
public Guid Id { get; private set; }
///
public string Name { get; set; }
///
public string SearchingName { get; set; } = string.Empty;
///
public int Index { get; set; } = 0;
///
public double Factor { get; set; } = 1d;
public ColumnProperty(Guid id, string columnName)
{
Id = id;
Name = columnName;
}
public ColumnProperty(string columnName) : this(Guid.NewGuid(), columnName)
{
}
public object Clone()
{
var cloneLogic = new ColumnPropertyCloningStrategy();
return cloneLogic.GetClone(this);
}
}
}