20 lines
412 B
C#
20 lines
412 B
C#
using MongoDB.Bson.Serialization.Attributes;
|
|||
|
|
using System;
|
||
|
|
using System.Collections.Generic;
|
||
|
|
using System.Linq;
|
||
|
|
using System.Text;
|
||
|
|
using System.Threading.Tasks;
|
||
|
|
|
||
|
|
namespace CommonDomain.BaseModel
|
||
|
|
{
|
||
|
|
[BsonIgnoreExtraElements]
|
||
|
|
public class BaseIdName
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Id
|
||
|
|
/// </summary>
|
||
|
|
public string Id { get; set; }
|
||
|
|
public string Name { get; set; }
|
||
|
|
}
|
||
|
|
}
|