using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StructureHelperCommon.Models.Forces
{
///
public class ColumnFileProperty : IColumnFileProperty
{
///
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 ColumnFileProperty(Guid id, string name)
{
Id = id;
Name = name;
}
public ColumnFileProperty(string columnName) : this(Guid.NewGuid(), columnName)
{
}
public object Clone()
{
var cloneLogic = new ColumnFilePropertyCloningStrategy();
return cloneLogic.GetClone(this);
}
}
}