Add EllipsePrimitive to DTO Converter
This commit is contained in:
28
DataAccess/DTOs/DTOEntities/VisualPropertyDTO.cs
Normal file
28
DataAccess/DTOs/DTOEntities/VisualPropertyDTO.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using Newtonsoft.Json;
|
||||
using StructureHelperLogics.NdmCalculations.Primitives;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace DataAccess.DTOs
|
||||
{
|
||||
public class VisualPropertyDTO : IVisualProperty
|
||||
{
|
||||
[JsonProperty("Id")]
|
||||
public Guid Id { get; set; }
|
||||
[JsonProperty("IsVisible")]
|
||||
public bool IsVisible { get; set; }
|
||||
[JsonProperty("Color")]
|
||||
public Color Color { get; set; }
|
||||
[JsonProperty("SetMaterialColor")]
|
||||
public bool SetMaterialColor { get; set; }
|
||||
[JsonProperty("ZIndex")]
|
||||
public int ZIndex { get; set; }
|
||||
[JsonProperty("Opacity")]
|
||||
public double Opacity { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user