diff options
Diffstat (limited to 'ApartmentManager/HousingWebApi/Models/Defect.cs')
-rw-r--r-- | ApartmentManager/HousingWebApi/Models/Defect.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ApartmentManager/HousingWebApi/Models/Defect.cs b/ApartmentManager/HousingWebApi/Models/Defect.cs index 4336393..b439078 100644 --- a/ApartmentManager/HousingWebApi/Models/Defect.cs +++ b/ApartmentManager/HousingWebApi/Models/Defect.cs @@ -21,15 +21,15 @@ namespace HousingWebApi [Column(TypeName = "date")] public DateTime DateUploaded { get; set; } - [Column(TypeName = "image")] [Required] - public byte[] Picture { get; set; } + [StringLength(200)] + public string Picture { get; set; } - [Column(TypeName = "image")] - public byte[] Picture2 { get; set; } + [StringLength(200)] + public string Picture2 { get; set; } - [Column(TypeName = "image")] - public byte[] Picture3 { get; set; } + [StringLength(200)] + public string Picture3 { get; set; } [Column(TypeName = "text")] [Required] |