1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- 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<TerminalDataFile> Files { get; set; }
- public ICollection<TerminalDataComment> Comments { get; set; }
- public string TerminalRecordId { get; set; }
- }
- class TerminalDataFile : Entity
- {
- /// <summary>
- /// Indicate report file name
- /// </summary>
- 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
- }
- }
|