18 lines
355 B
C#
18 lines
355 B
C#
using Newtonsoft.Json;
|
|
|
|
namespace Piwigo.Client.Contract;
|
|
|
|
public record Comment
|
|
{
|
|
[JsonProperty("id")]
|
|
public int Id { get; init; }
|
|
|
|
[JsonProperty("date")]
|
|
public DateTime? Date { get; init; }
|
|
|
|
[JsonProperty("author")]
|
|
public string? Author { get; init; }
|
|
|
|
[JsonProperty("content")]
|
|
public string? Content { get; init; }
|
|
} |