This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user