Add value diagram calculator saving
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
using Newtonsoft.Json;
|
||||
using StructureHelperLogics.NdmCalculations.Analyses.ValueDiagrams;
|
||||
|
||||
namespace DataAccess.DTOs
|
||||
{
|
||||
public class ValueDiagramEntityDTO : IValueDiagramEntity
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public Guid Id { get; }
|
||||
[JsonProperty("Name")]
|
||||
public string Name { get; set; }
|
||||
[JsonProperty("IsTaken")]
|
||||
public bool IsTaken { get; set; }
|
||||
[JsonProperty("ValueDiagram")]
|
||||
public IValueDiagram ValueDigram { get; set; }
|
||||
|
||||
|
||||
public ValueDiagramEntityDTO(Guid id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public object Clone()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user