forked from sanchezvem/PyroFetes
Change type of date parameters (string => DateOnly)
This commit is contained in:
@@ -5,6 +5,6 @@ namespace PyroFetes.Models;
|
||||
public class HistoryOfApproval
|
||||
{
|
||||
[Key] public int Id { get; set; }
|
||||
[Required] public string ExpirationDate { get; set; }
|
||||
[Required] public string DeliveryDate { get; set; }
|
||||
[Required] public DateOnly ExpirationDate { get; set; }
|
||||
[Required] public DateOnly DeliveryDate { get; set; }
|
||||
}
|
Reference in New Issue
Block a user