This commit is contained in:
2021-03-05 00:52:04 +00:00
parent b7d546ef02
commit 239d674660
8 changed files with 208 additions and 25 deletions

View File

@@ -0,0 +1,32 @@
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using AyaNova.Biz;
using Newtonsoft.Json;
namespace AyaNova.Models
{
public class ContractPartOverride
{
public long Id { get; set; }
public uint Concurrency { get; set; }
[Required]
public long ContractId { get; set; }
[Required]
public decimal Override { get; set; }
[Required]
public ContractOverrideType OverrideType { get; set; }
[Required]
public List<string> Tags { get; set; }
[JsonIgnore]
public Contract Contract { get; set; }
public ContractPartOverride()
{
Tags = new List<string>();
}
}//eoc
}//eons