Add beam shear converting to DTO
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
using Newtonsoft.Json;
|
||||
using StructureHelperCommon.Models.Shapes;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace DataAccess.DTOs
|
||||
{
|
||||
public class RectangleShapeDTO : IRectangleShape
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public Guid Id { get; set; }
|
||||
public Guid Id { get;}
|
||||
[JsonProperty("Width")]
|
||||
public double Width { get; set; }
|
||||
[JsonProperty("Height")]
|
||||
public double Height { get; set; }
|
||||
|
||||
public RectangleShapeDTO(Guid id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user