Change type of date parameters (string => DateOnly)

This commit is contained in:
2025-10-03 16:53:18 +01:00
parent da468f2853
commit 52521908b7
10 changed files with 27 additions and 24 deletions

View File

@@ -1,10 +1,10 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations;
namespace PyroFetes.Models;
public class Staff
{
[Key] public int Id { get; set; }
[Required] public string F4T2NumberApproval { get; set; }
[Required] public string F4T2ExpirationDate { get; set; }
[Required] public string? F4T2NumberApproval { get; set; }
[Required] public string? F4T2ExpirationDate { get; set; }
}