diff options
author | marcinzelent <marcin@zelent.net> | 2017-05-27 15:10:06 +0200 |
---|---|---|
committer | marcinzelent <marcin@zelent.net> | 2017-05-27 15:10:06 +0200 |
commit | e6db92d629b8b790cfa57e3d49aa83d64b26f8a5 (patch) | |
tree | 2dfab163f0dfcfa481cce718d9b6a53febe223a0 /ApartmentManager/HousingWebApi/Models | |
parent | e3de8bc1a60a0c538b989ce8ee0873ee9af55a56 (diff) | |
parent | 2825d1487efa7e89ca0fc5b9fbd642d0fb8021b5 (diff) |
Merge branch 'master' of https://github.com/marcinzelent/ApartmentAdmin
Diffstat (limited to 'ApartmentManager/HousingWebApi/Models')
-rw-r--r-- | ApartmentManager/HousingWebApi/Models/ChangeComment.cs | 5 | ||||
-rw-r--r-- | ApartmentManager/HousingWebApi/Models/DefectComment.cs | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/ApartmentManager/HousingWebApi/Models/ChangeComment.cs b/ApartmentManager/HousingWebApi/Models/ChangeComment.cs index 3c5d8d8..b8ee58e 100644 --- a/ApartmentManager/HousingWebApi/Models/ChangeComment.cs +++ b/ApartmentManager/HousingWebApi/Models/ChangeComment.cs @@ -17,6 +17,11 @@ namespace HousingWebApi public string Comment { get; set; } + [StringLength(50)] + public string Name { get; set; } + + public DateTime? Date { get; set; } + public virtual ApartmentChange ApartmentChange { get; set; } } } diff --git a/ApartmentManager/HousingWebApi/Models/DefectComment.cs b/ApartmentManager/HousingWebApi/Models/DefectComment.cs index c65bac2..41733aa 100644 --- a/ApartmentManager/HousingWebApi/Models/DefectComment.cs +++ b/ApartmentManager/HousingWebApi/Models/DefectComment.cs @@ -16,6 +16,11 @@ namespace HousingWebApi public string Comment { get; set; } + [StringLength(50)] + public string Name { get; set; } + + public DateTime? Date { get; set; } + public virtual Defect Defect { get; set; } } } |