< Summary

Class:WinSolutions.Sveta.Server.Data.DataModel.Entities.Photo
Assembly:WinSolutions.Sveta.Server
File(s):/opt/dev/sveta_api_build/WinSolutions.Sveta.Server/Data/DataModel/Entities/Photo.cs
Covered lines:3
Uncovered lines:5
Coverable lines:8
Total lines:22
Line coverage:37.5% (3 of 8)
Covered branches:0
Total branches:0

Metrics

MethodLine coverage Branch coverage
get_PreviewUrl()100%100%
get_FullSizeUrl()0%100%
get_PreviewWidth()100%100%
get_PreviewHeight()100%100%
get_FullSizeWidth()0%100%
get_FullSizeHeight()0%100%
get_FullSizePath()0%100%
get_PreviewPath()0%100%

File(s)

/opt/dev/sveta_api_build/WinSolutions.Sveta.Server/Data/DataModel/Entities/Photo.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations.Schema;
 2
 3namespace WinSolutions.Sveta.Server.Data.DataModel.Entities
 4{
 5    public class Photo : ExternalRecord, ITrackableRecord
 6    {
 227        public string PreviewUrl { get; set; }
 08        public string FullSizeUrl { get; set; }
 9
 2210        public int PreviewWidth { get; set; }
 2211        public int PreviewHeight { get; set; }
 12
 013        public int FullSizeWidth { get; set; }
 014        public int FullSizeHeight { get; set; }
 15
 16        [NotMapped]
 017        public string FullSizePath { get; set; }
 18
 19        [NotMapped]
 020        public string PreviewPath { get; set; }
 21    }
 22}