This commit is contained in:
2022-12-22 20:59:34 +00:00
parent 47c3574232
commit 3dda9ae433
12 changed files with 1120 additions and 29 deletions

View File

@@ -0,0 +1,50 @@
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 SubscriptionServer : ICoreBizObjectModel
{
public long Id { get; set; }
public uint Concurrency { get; set; }
[Required]
public string Name { get; set; }
public bool Active { get; set; }
public DateTime Created { get; set; }
[Required]
public string DataCenter { get; set; }
[Required]
public string TimeZone { get; set; }
public DateTime? LastUpdated { get; set; }
public DateTime SubscriptionExpire { get; set; }
public DateTime? TrialExpire { get; set; }
public string TrialContact { get; set; }
public string TrialEmail { get; set; }
public string TrialCompany { get; set; }
public string OperatingSystem { get; set; }
public string CustomerSubDomain { get; set; }
public long? CustomerId { get; set; }
public long? LicenseId { get; set; }
public string Wiki { get; set; }
public string CustomFields { get; set; }
public List<string> Tags { get; set; }
public SubscriptionServer()
{
Tags = new List<string>();
Created = DateTime.UtcNow;
}
[NotMapped, JsonIgnore]
public SockType SType { get => SockType.SubscriptionServer; }
}//eoc
}//eons