Changed parts of how data project stucture

This commit is contained in:
2019-04-22 22:46:39 +00:00
parent 83385a66c7
commit 49f6ee5542
13 changed files with 23 additions and 99 deletions

View File

@@ -1,5 +1,4 @@
using MongoDB.Bson.Serialization.Attributes;
using System;
using System;
using System.Collections.Generic;
using System.Text;
@@ -7,17 +6,11 @@ namespace BrightGlimmer.Data.Domain
{
public class Student
{
[BsonElement("Id")]
public Guid Id { get; set; }
[BsonElement("FirstName")]
public string FirstName { get; set; }
[BsonElement("MiddleName")]
public string MiddleName { get; set; }
[BsonElement("LastName")]
public string LastName { get; set; }
[BsonElement("Email")]
public string Email { get; set; }
[BsonElement("Phones")]
public List<Phone> Phones { get; set; }
}
}