Change convert strategies to save xls imported forces
This commit is contained in:
30
DataAccess/DTOs/DTOEntities/ColumnFilePropertyDTO.cs
Normal file
30
DataAccess/DTOs/DTOEntities/ColumnFilePropertyDTO.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using Newtonsoft.Json;
|
||||
using StructureHelperCommon.Models.Forces;
|
||||
|
||||
namespace DataAccess.DTOs
|
||||
{
|
||||
public class ColumnFilePropertyDTO : IColumnFileProperty
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public Guid Id { get; }
|
||||
[JsonProperty("Name")]
|
||||
public string Name { get; set; }
|
||||
[JsonProperty("SearchingName")]
|
||||
public string SearchingName { get; set; }
|
||||
[JsonProperty("Index")]
|
||||
public int Index { get; set; }
|
||||
[JsonProperty("Factor")]
|
||||
public double Factor { get; set; }
|
||||
|
||||
|
||||
public ColumnFilePropertyDTO(Guid id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user