2017-06-08 17:33:55 +02:00
|
|
|
|
namespace Microsoft.eShopOnContainers.Services.Locations.API.Model
|
2017-06-01 20:16:19 +02:00
|
|
|
|
{
|
2017-06-08 17:33:55 +02:00
|
|
|
|
using MongoDB.Bson;
|
2017-06-09 12:16:57 +02:00
|
|
|
|
using MongoDB.Bson.Serialization.Attributes;
|
2017-06-08 17:33:55 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
2017-06-01 20:16:19 +02:00
|
|
|
|
public class UserLocation
|
|
|
|
|
{
|
2017-06-08 17:33:55 +02:00
|
|
|
|
[BsonIgnoreIfDefault]
|
2017-06-09 12:16:57 +02:00
|
|
|
|
[BsonRepresentation(BsonType.ObjectId)]
|
|
|
|
|
public string Id { get; set; }
|
2017-06-13 17:31:37 +02:00
|
|
|
|
public string UserId { get; set; }
|
2017-06-13 18:01:24 +02:00
|
|
|
|
public int LocationId { get; set; }
|
2017-06-08 17:33:55 +02:00
|
|
|
|
public DateTime UpdateDate { get; set; }
|
2017-06-01 20:16:19 +02:00
|
|
|
|
}
|
|
|
|
|
}
|