// Copyright © Selmo Technology GmbH. All Rights Reserved

using Newtonsoft.Json;
using Novus.Shared.Id;
using Novus.Shared.Property;
using SelmoStudio.Hmi.Server.SelmoHmi.Sequence.Model.Ids;

namespace SelmoStudio.Hmi.Server.SelmoHmi.Sequence.Model.Dto
{
    public class LogicDiagramComment : PropertyBasedEntity
    {
        [JsonIgnore]
        public override IGuidBasedId InternalStorageId => Id;

        [JsonProperty]
        public LogicDiagramCommentId Id { get; init; }

        [JsonProperty]
        public string Content { get; init; }

        [JsonProperty]
        public double DiagramPositionX { get; init; }

        [JsonProperty]
        public double DiagramPositionY { get; init; }

        [JsonProperty]
        public double SizeX { get; init; }

        [JsonProperty]
        public double SizeY { get; init; }
    }
}