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; }
|
|
|
|
|
}
|
2017-05-16 01:04:42 +00:00
|
|
|
|
}
|