aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulius Klezys <paul4618@edu.easj.dk>2017-05-22 11:20:41 +0200
committerPaulius Klezys <paul4618@edu.easj.dk>2017-05-22 11:20:41 +0200
commit60385d4477827ed0c75ff2f3800a5c0a7b60ec4d (patch)
tree151b7a439c725fa180f59b214ce59773a8608a52 /ApartmentManager/HousingWebApi/Models/ChangeComment.cs
parent27515d443a8eab66f4195490a989f0be6561ff45 (diff)
parent590ce43270fa4f825d964b571c50e2542b2fb15b (diff)
Merge branch 'master' of https://github.com/marcinzelent/ApartmentAdmin
Diffstat (limited to 'ApartmentManager/HousingWebApi/Models/ChangeComment.cs')
-rw-r--r--ApartmentManager/HousingWebApi/Models/ChangeComment.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/ApartmentManager/HousingWebApi/Models/ChangeComment.cs b/ApartmentManager/HousingWebApi/Models/ChangeComment.cs
new file mode 100644
index 0000000..3c5d8d8
--- /dev/null
+++ b/ApartmentManager/HousingWebApi/Models/ChangeComment.cs
@@ -0,0 +1,22 @@
+namespace HousingWebApi
+{
+ using System;
+ using System.Collections.Generic;
+ using System.ComponentModel.DataAnnotations;
+ using System.ComponentModel.DataAnnotations.Schema;
+ using System.Data.Entity.Spatial;
+
+ [Table("ChangeComment")]
+ public partial class ChangeComment
+ {
+ [Key]
+ [DatabaseGenerated(DatabaseGeneratedOption.None)]
+ public int CommentId { get; set; }
+
+ public int ChangeId { get; set; }
+
+ public string Comment { get; set; }
+
+ public virtual ApartmentChange ApartmentChange { get; set; }
+ }
+}