Add calculators saving
This commit is contained in:
20
DataAccess/DTOs/DTOEntities/CrackCalculatorInputDataDTO.cs
Normal file
20
DataAccess/DTOs/DTOEntities/CrackCalculatorInputDataDTO.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Newtonsoft.Json;
|
||||
using StructureHelperCommon.Models.Forces;
|
||||
using StructureHelperLogics.NdmCalculations.Cracking;
|
||||
using StructureHelperLogics.NdmCalculations.Primitives;
|
||||
|
||||
namespace DataAccess.DTOs
|
||||
{
|
||||
public class CrackCalculatorInputDataDTO : ICrackCalculatorInputData
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public Guid Id { get; set; }
|
||||
[JsonProperty("ForceActions")]
|
||||
public List<IForceAction> ForceActions { get; set; } = new();
|
||||
[JsonProperty("ForcePrimitives")]
|
||||
public List<INdmPrimitive> Primitives { get; set; } = new();
|
||||
[JsonProperty("UserCrackInputData")]
|
||||
public IUserCrackInputData UserCrackInputData { get; set; } = new UserCrackInputDataDTO();
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user