PIbd-23_Firsov_KA_SUBD/Hotel/HotelMongoDB/Models/Sequence.cs

21 lines
560 B
C#
Raw Normal View History

2024-05-29 17:06:07 +04:00
using MongoDB.Bson.Serialization.Attributes;
using MongoDB.Bson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HotelMongoDB.Models
{
public class Sequence
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; } = string.Empty;
public string Sql_id { get; set; } = string.Empty;
public string Mongo_id { get; set; } = string.Empty;
public string Table_name { get; set; } = string.Empty;
}
}