21 lines
560 B
C#
21 lines
560 B
C#
|
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;
|
|||
|
}
|
|||
|
}
|