초기커밋
This commit is contained in:
19
UGQDatabase/Models/NpcNameEntity.cs
Normal file
19
UGQDatabase/Models/NpcNameEntity.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using MongoDB.Bson;
|
||||
|
||||
namespace UGQDatabase.Models;
|
||||
|
||||
public class NpcNameEntity
|
||||
{
|
||||
[BsonId]
|
||||
[BsonRepresentation(BsonType.ObjectId)]
|
||||
public string Id { get; set; } = null!;
|
||||
|
||||
public int NpcId { get; set; }
|
||||
public TextEntity NpcName { get; set; } = new TextEntity();
|
||||
}
|
||||
Reference in New Issue
Block a user