buechermarkt/BuechermarktClient/Models/BookType.cs

18 lines
351 B
C#
Raw Normal View History

2017-09-27 13:57:10 +00:00
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson;
namespace BuechermarktClient.Models
{
public class BookType
{
[BsonId]
public ObjectId ID { get; set; }
[BsonElement("name")]
public string Name { get; set; }
[BsonElement("isbn")]
public string ISBN { get; set; }
}
}