changed classes to records

This commit is contained in:
Alex
2025-01-17 18:13:37 +00:00
parent 7d9afa3cb4
commit c94408c596
322 changed files with 1201 additions and 1201 deletions
+3 -3
View File
@@ -3,7 +3,7 @@ using Core.Models.Eft.Common.Request;
namespace Core.Models.Eft.Notes;
public class NoteActionData : BaseInteractionRequestData
public record NoteActionData : BaseInteractionRequestData
{
[JsonPropertyName("Action")]
public string? Action { get; set; }
@@ -15,11 +15,11 @@ public class NoteActionData : BaseInteractionRequestData
public Note? Note { get; set; }
}
public class Note
public record Note
{
[JsonPropertyName("Time")]
public int? Time { get; set; }
[JsonPropertyName("Text")]
public string? Text { get; set; }
}
}