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,6 +1,8 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Newtonsoft.Json;
namespace AyaNova.Models
{
public class ContractServiceRate
@@ -9,9 +11,11 @@ namespace AyaNova.Models
public uint Concurrency { get; set; }
[Required]
public long ContractId { get; set; }
public long ContractId { get; set; }
[Required]
public long ServiceRateId { get; set; }
[NotMapped]
public string ServiceRateViz { get; set; }
[JsonIgnore]
public Contract Contract { get; set; }