aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaulius Klezys <paul4618@edu.easj.dk>2017-05-22 21:08:29 +0200
committerPaulius Klezys <paul4618@edu.easj.dk>2017-05-22 21:08:29 +0200
commit6e3e15d2095468a4e131a86e3256c5b14ec6df0d (patch)
tree35de24de711829581502e87e87723b6aa9ba5998 /ApartmentManager/HousingWebApi/Models
parentfd19b684a2a43b456cbbb8c49b66ff3f1624790d (diff)
parentad0091548a5b023b74a3f72ca8086cd83b6cc760 (diff)
Merge branch 'master' of https://github.com/marcinzelent/ApartmentAdmin
Diffstat (limited to 'ApartmentManager/HousingWebApi/Models')
-rw-r--r--ApartmentManager/HousingWebApi/Models/AllResident.cs15
-rw-r--r--ApartmentManager/HousingWebApi/Models/ApartmentResident.cs37
2 files changed, 0 insertions, 52 deletions
diff --git a/ApartmentManager/HousingWebApi/Models/AllResident.cs b/ApartmentManager/HousingWebApi/Models/AllResident.cs
deleted file mode 100644
index 655ee84..0000000
--- a/ApartmentManager/HousingWebApi/Models/AllResident.cs
+++ /dev/null
@@ -1,15 +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 AllResident
- {
- [Key]
- [StringLength(20)]
- public string FirstName { get; set; }
- }
-}
diff --git a/ApartmentManager/HousingWebApi/Models/ApartmentResident.cs b/ApartmentManager/HousingWebApi/Models/ApartmentResident.cs
deleted file mode 100644
index 092c95f..0000000
--- a/ApartmentManager/HousingWebApi/Models/ApartmentResident.cs
+++ /dev/null
@@ -1,37 +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 ApartmentResident
- {
- [Key]
- [Column(Order = 0)]
- [DatabaseGenerated(DatabaseGeneratedOption.None)]
- public int ApartmentNumber { get; set; }
-
- [Key]
- [Column(Order = 1)]
- [StringLength(20)]
- public string FirstName { get; set; }
-
- [Key]
- [Column(Order = 2)]
- [StringLength(20)]
- public string LastName { get; set; }
-
- [Column(TypeName = "date")]
- public DateTime? BirthDate { get; set; }
-
- public int? PhoneNo { get; set; }
-
- [StringLength(30)]
- public string Email { get; set; }
-
- [Column(TypeName = "image")]
- public byte[] Picture { get; set; }
- }
-}