using System; using System.Collections.Generic; namespace VidFilesUpgradeTool { class Entity { public string Id { get; private set; } public DateTime CreateTime { get; private set; } public DateTime UpdateTime { get; set; } } class TerminalData: Entity { public TerminalDataType DataType { get; set; } public string Application { get; set; } public string PreviewImageFileToken { get; set; } public string PatientInfoId { get; set; } public ICollection Files { get; set; } public ICollection Comments { get; set; } public string TerminalRecordId { get; set; } } class TerminalDataFile : Entity { /// /// Indicate report file name /// public string FileName { get; set; } public ImageQuality ImageQuality { get; set; } } class TerminalDataComment : Entity { public UserInfo User { get; set; } public double Score { get; set; } public string Description { get; set; } } class UserInfo { public string Id { get; set; } public string Name { get; set; } } enum ImageQuality { High, Low } enum TerminalDataType { VinnoVidSingle, ThirdVidSingle, VinnoVidMovie, ThirdVidMovie, Image } }