namespace IWS5.Core.DTO;

public class EventDefinitionDTO(int eventId, int processId, string eventName, int? positionX, int? positionY, int eventTypeId, string? server, int? expirationInterval, int? joinEventId, int processAtServer, byte[]? script, int? scriptLanguage, byte[]? exScript, string? expirationInstance, int? nextEventId, string? action)
{
    public int EventId { get; private set; } = eventId;
    public int ProcessId { get; private set; } = processId;
    public string EventName { get; private set; } = eventName;
    public int? PositionX { get; private set; } = positionX;
    public int? PositionY { get; private set; } = positionY;
    public int? EventTypeId { get; private set; } = eventTypeId;
    public string? Server { get; private set; } = server;
    public int? expirationInterval { get; private set; } = expirationInterval;
    public int? JoinEventId { get; private set; } = joinEventId;
    public int ProcessAtServer { get; private set; } = processAtServer;
    public byte[]? Script { get; private set; } = script;
    public int? ScriptLanguage { get; private set; } = scriptLanguage;
    public byte[]? ExScript { get; private set; } = exScript;

    public string? ExpirationInstance { get; private set; } = expirationInstance;
    public int? NextEventId { get; private set; } = nextEventId;
    public string? Action { get; private set; } = action;
}