This commit is contained in:
2021-03-07 19:06:20 +00:00
parent 40ad1056b0
commit 76f2d7345f
9 changed files with 54 additions and 11 deletions

View File

@@ -1,4 +1,5 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace AyaNova.Models
@@ -12,6 +13,8 @@ namespace AyaNova.Models
public long ContractId { get; set; }
[Required]
public long TravelRateId { get; set; }
[NotMapped]
public string TravelRateViz { get; set; }
[JsonIgnore]
public Contract Contract { get; set; }