< Summary

Information
Class: OzonDomains.Models.BitrixModels.BCatalogStore
Assembly: OzonDomains
File(s): /home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/BitrixModels/BCatalogStore.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 23
Coverable lines: 23
Total lines: 93
Line coverage: 0%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Id()100%210%
get_Title()100%210%
get_Active()100%210%
get_Address()100%210%
get_Description()100%210%
get_GpsN()100%210%
get_GpsS()100%210%
get_ImageId()100%210%
get_LocationId()100%210%
get_DateModify()100%210%
get_DateCreate()100%210%
get_UserId()100%210%
get_ModifiedBy()100%210%
get_Phone()100%210%
get_Schedule()100%210%
get_XmlId()100%210%
get_Sort()100%210%
get_Email()100%210%
get_IssuingCenter()100%210%
get_ShippingCenter()100%210%
get_SiteId()100%210%
get_Code()100%210%
get_IsDefault()100%210%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/OzonDomains/Models/BitrixModels/BCatalogStore.cs

#LineLine coverage
 1using System.ComponentModel.DataAnnotations;
 2using System.ComponentModel.DataAnnotations.Schema;
 3
 4namespace OzonDomains.Models.BitrixModels;
 5
 6[Table("b_catalog_store")]
 7public class BCatalogStore
 8{
 9        [Key]
 10        [Column("ID")]
 011        public int Id { get; set; }
 12
 13        [Column("TITLE")]
 14        [StringLength(75)]
 015        public string? Title { get; set; }
 16
 17        [Column("ACTIVE")]
 18        [StringLength(1)]
 019        public string Active { get; set; } = "Y";
 20
 21        [Column("ADDRESS")]
 22        [StringLength(245)]
 023        public string Address { get; set; } = string.Empty;
 24
 25        [Column("DESCRIPTION", TypeName = "mediumtext")]
 026        public string? Description { get; set; }
 27
 28        [Column("GPS_N")]
 29        [StringLength(15)]
 030        public string? GpsN { get; set; } = "0";
 31
 32        [Column("GPS_S")]
 33        [StringLength(15)]
 034        public string? GpsS { get; set; } = "0";
 35
 36        [Column("IMAGE_ID")]
 37        [StringLength(45)]
 038        public string? ImageId { get; set; }
 39
 40        [Column("LOCATION_ID")]
 041        public int? LocationId { get; set; }
 42
 43        [Column("DATE_MODIFY")]
 044        public DateTime? DateModify { get; set; }
 45
 46        [Column("DATE_CREATE")]
 047        public DateTime? DateCreate { get; set; }
 48
 49        [Column("USER_ID")]
 050        public int? UserId { get; set; }
 51
 52        [Column("MODIFIED_BY")]
 053        public int? ModifiedBy { get; set; }
 54
 55        [Column("PHONE")]
 56        [StringLength(45)]
 057        public string? Phone { get; set; }
 58
 59        [Column("SCHEDULE")]
 60        [StringLength(255)]
 061        public string? Schedule { get; set; }
 62
 63        [Column("XML_ID")]
 64        [StringLength(255)]
 065        public string? XmlId { get; set; }
 66
 67        [Column("SORT")]
 068        public int Sort { get; set; } = 100;
 69
 70        [Column("EMAIL")]
 71        [StringLength(255)]
 072        public string? Email { get; set; }
 73
 74        [Column("ISSUING_CENTER")]
 75        [StringLength(1)]
 076        public string IssuingCenter { get; set; } = "Y";
 77
 78        [Column("SHIPPING_CENTER")]
 79        [StringLength(1)]
 080        public string ShippingCenter { get; set; } = "Y";
 81
 82        [Column("SITE_ID")]
 83        [StringLength(2)]
 084        public string? SiteId { get; set; }
 85
 86        [Column("CODE")]
 87        [StringLength(255)]
 088        public string? Code { get; set; }
 89
 90        [Column("IS_DEFAULT")]
 91        [StringLength(1)]
 092        public string IsDefault { get; set; } = "N";
 93}