using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using Newtonsoft.Json; using Sockeye.Biz; namespace Sockeye.Models { public class GZCase : ICoreBizObjectModel { public long Id { get; set; } public uint Concurrency { get; set; } public long CaseId { get; set; } public DateTime Created { get; set; } public DateTime? Closed { get; set; } [Required] public string Name { get; set; } public string Notes { get; set; } public long? CustomerId { get; set; } [NotMapped] public string CustomerViz { get; set; } public string Wiki { get; set; } public List Tags { get; set; } public GZCase() { Tags = new List(); Created = DateTime.UtcNow; } [NotMapped, JsonIgnore] public SockType SType { get => SockType.GZCase; } }//eoc }//eons