forked from sanchezvem/PyroFetes
Change type of date parameters (string => DateOnly)
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
Reference in New Issue
Block a user