20 lines
448 B
C#
20 lines
448 B
C#
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();
|
|
}
|