Add code to upload machine photos as well as edit or view details about them.

This commit is contained in:
2020-05-31 03:43:56 +01:00
parent 556c5b2062
commit 0310fe1b31
32 changed files with 4388 additions and 1567 deletions

View File

@@ -0,0 +1,46 @@
using System;
using Marechai.Database;
namespace Marechai.ViewModels
{
public class BasePhotoViewModel : BaseViewModel<Guid>
{
public double? Aperture { get; set; }
public string Author { get; set; }
public string CameraManufacturer { get; set; }
public string CameraModel { get; set; }
public ColorSpace? ColorSpace { get; set; }
public string Comments { get; set; }
public Contrast? Contrast { get; set; }
public DateTime? CreationDate { get; set; }
public double? DigitalZoomRatio { get; set; }
public string ExifVersion { get; set; }
public double? ExposureTime { get; set; }
public ExposureMode? ExposureMethod { get; set; }
public ExposureProgram? ExposureProgram { get; set; }
public Flash? Flash { get; set; }
public double? Focal { get; set; }
public double? FocalLength { get; set; }
public double? FocalLengthEquivalent { get; set; }
public double? HorizontalResolution { get; set; }
public ushort? IsoRating { get; set; }
public string Lens { get; set; }
public LightSource? LightSource { get; set; }
public MeteringMode? MeteringMode { get; set; }
public ResolutionUnit? ResolutionUnit { get; set; }
public Orientation? Orientation { get; set; }
public Saturation? Saturation { get; set; }
public SceneCaptureType? SceneCaptureType { get; set; }
public SensingMethod? SensingMethod { get; set; }
public Sharpness? Sharpness { get; set; }
public string SoftwareUsed { get; set; }
public SubjectDistanceRange? SubjectDistanceRange { get; set; }
public DateTime UploadDate { get; set; }
public double? VerticalResolution { get; set; }
public WhiteBalance? WhiteBalance { get; set; }
public string UserId { get; set; }
public string LicenseName { get; set; }
public int LicenseId { get; set; }
public string OriginalExtension { get; set; }
}
}