Skip to content

Commit

Permalink
Publication.Created and Publication.Modified are nullable fields
Browse files Browse the repository at this point in the history
  • Loading branch information
sarkikos committed Oct 6, 2023
1 parent a10bbba commit c174d65
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions aspnetcore/src/ApiModels/Publication/Publication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,10 @@ public class Publication
/// <summary>
/// Creation time
/// </summary>
public DateTime Created { get; set; }
public DateTime? Created { get; set; }

/// <summary>
/// Modification time
/// </summary>
public DateTime Modified { get; set; }
public DateTime? Modified { get; set; }
}
4 changes: 2 additions & 2 deletions aspnetcore/src/Service.Models/Publication/Publication.cs
Original file line number Diff line number Diff line change
Expand Up @@ -250,12 +250,12 @@ public class Publication
/// <summary>
/// Luontiaika
/// </summary>
public DateTime Created { get; set; }
public DateTime? Created { get; set; }

/// <summary>
/// Muokkausaika
/// </summary>
public DateTime Modified { get; set; }
public DateTime? Modified { get; set; }

[Ignore]
public string? Isbn1 { get; set; }
Expand Down

0 comments on commit c174d65

Please sign in to comment.