diff options
Diffstat (limited to 'ApartmentManager/HousingWebApi/Models/Defect.cs')
-rw-r--r-- | ApartmentManager/HousingWebApi/Models/Defect.cs | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/ApartmentManager/HousingWebApi/Models/Defect.cs b/ApartmentManager/HousingWebApi/Models/Defect.cs deleted file mode 100644 index b439078..0000000 --- a/ApartmentManager/HousingWebApi/Models/Defect.cs +++ /dev/null @@ -1,46 +0,0 @@ -namespace HousingWebApi -{ - using System; - using System.Collections.Generic; - using System.ComponentModel.DataAnnotations; - using System.ComponentModel.DataAnnotations.Schema; - using System.Data.Entity.Spatial; - - public partial class Defect - { - [Key] - [DatabaseGenerated(DatabaseGeneratedOption.None)] - public int DefectNumber { get; set; } - - public int ApartmentNr { get; set; } - - [Required] - [StringLength(50)] - public string Name { get; set; } - - [Column(TypeName = "date")] - public DateTime DateUploaded { get; set; } - - [Required] - [StringLength(200)] - public string Picture { get; set; } - - [StringLength(200)] - public string Picture2 { get; set; } - - [StringLength(200)] - public string Picture3 { get; set; } - - [Column(TypeName = "text")] - [Required] - public string Description { get; set; } - - [Column(TypeName = "text")] - public string Comment { get; set; } - - [StringLength(10)] - public string Status { get; set; } - - public virtual Apartment Apartment { get; set; } - } -} |