36 lines
904 B
C#
36 lines
904 B
C#
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
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 OverridePct { get; set; }
|
|
[Required]
|
|
public ContractOverrideType OverrideType { get; set; }
|
|
[NotMapped]
|
|
public string OverrideTypeViz { get; set; }
|
|
[Required]
|
|
public List<string> Tags { get; set; }
|
|
|
|
|
|
[JsonIgnore]
|
|
public Contract Contract { get; set; }
|
|
public ContractPartOverride()
|
|
{
|
|
Tags = new List<string>();
|
|
}
|
|
|
|
}//eoc
|
|
|
|
}//eons
|