mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 11:04:25 +00:00
102 lines
4.5 KiB
C#
102 lines
4.5 KiB
C#
/******************************************************************************
|
|
// MARECHAI: Master repository of computing history artifacts information
|
|
// ----------------------------------------------------------------------------
|
|
//
|
|
// Author(s) : Natalia Portillo <claunia@claunia.com>
|
|
//
|
|
// --[ License ] --------------------------------------------------------------
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as
|
|
// published by the Free Software Foundation, either version 3 of the
|
|
// License, or (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
//
|
|
// ----------------------------------------------------------------------------
|
|
// Copyright © 2003-2021 Natalia Portillo
|
|
*******************************************************************************/
|
|
|
|
using System;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Marechai.Database.Models
|
|
{
|
|
public abstract class BasePhoto : BaseModel<Guid>
|
|
{
|
|
public double? Aperture { get; set; }
|
|
public string Author { get; set; }
|
|
[DisplayName("Camera manufacturer")]
|
|
public string CameraManufacturer { get; set; }
|
|
[DisplayName("Camera model")]
|
|
public string CameraModel { get; set; }
|
|
[DisplayName("Color space")]
|
|
public ColorSpace? ColorSpace { get; set; }
|
|
[DisplayName("User comments")]
|
|
public string Comments { get; set; }
|
|
public Contrast? Contrast { get; set; }
|
|
[DisplayName("Date and time of digitizing")]
|
|
public DateTime? CreationDate { get; set; }
|
|
[DisplayName("Digital zoom ratio")]
|
|
public double? DigitalZoomRatio { get; set; }
|
|
[DisplayName("Exif version")]
|
|
public string ExifVersion { get; set; }
|
|
[DisplayName("Exposure time")]
|
|
public double? ExposureTime { get; set; }
|
|
[DisplayName("Exposure mode")]
|
|
public ExposureMode? ExposureMethod { get; set; }
|
|
[DisplayName("Exposure Program")]
|
|
public ExposureProgram? ExposureProgram { get; set; }
|
|
public Flash? Flash { get; set; }
|
|
[DisplayName("F-number")]
|
|
public double? Focal { get; set; }
|
|
[DisplayName("Lens focal length")]
|
|
public double? FocalLength { get; set; }
|
|
[DisplayName("Focal length in 35 mm film")]
|
|
public double? FocalLengthEquivalent { get; set; }
|
|
[DisplayName("Horizontal resolution")]
|
|
public double? HorizontalResolution { get; set; }
|
|
[DisplayName("ISO speed rating")]
|
|
public ushort? IsoRating { get; set; }
|
|
[DisplayName("Lens used")]
|
|
public string Lens { get; set; }
|
|
[DisplayName("Light source")]
|
|
public LightSource? LightSource { get; set; }
|
|
[DisplayName("Metering mode")]
|
|
public MeteringMode? MeteringMode { get; set; }
|
|
[DisplayName("Resolution unit")]
|
|
public ResolutionUnit? ResolutionUnit { get; set; }
|
|
public Orientation? Orientation { get; set; }
|
|
public Saturation? Saturation { get; set; }
|
|
[DisplayName("Scene capture type")]
|
|
public SceneCaptureType? SceneCaptureType { get; set; }
|
|
[DisplayName("Sensing method")]
|
|
public SensingMethod? SensingMethod { get; set; }
|
|
public Sharpness? Sharpness { get; set; }
|
|
[DisplayName("Software used")]
|
|
public string SoftwareUsed { get; set; }
|
|
[DisplayName("Subject distance range")]
|
|
public SubjectDistanceRange? SubjectDistanceRange { get; set; }
|
|
[Timestamp]
|
|
public DateTime UploadDate { get; set; }
|
|
[DisplayName("Vertical resolution")]
|
|
public double? VerticalResolution { get; set; }
|
|
[DisplayName("White balance")]
|
|
public WhiteBalance? WhiteBalance { get; set; }
|
|
public string OriginalExtension { get; set; }
|
|
|
|
public virtual ApplicationUser User { get; set; }
|
|
[Required]
|
|
public virtual License License { get; set; }
|
|
|
|
public int LicenseId { get; set; }
|
|
public string UserId { get; set; }
|
|
}
|
|
} |