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.Serialization.Attributes;
|
|
|
|
|
using MongoDB.Bson;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
2017-06-01 20:16:19 +02:00
|
|
|
|
public class UserLocation
|
|
|
|
|
{
|
2017-06-08 17:33:55 +02:00
|
|
|
|
[BsonIgnoreIfDefault]
|
|
|
|
|
public ObjectId Id { get; set; }
|
|
|
|
|
public int UserId { get; set; } = 0;
|
|
|
|
|
public ObjectId LocationId { get; set; }
|
|
|
|
|
public DateTime UpdateDate { get; set; }
|
2017-06-01 20:16:19 +02:00
|
|
|
|
}
|
|
|
|
|
}
|