25 lines
543 B
C#
25 lines
543 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;
|
|
using MP.Data.Conf;
|
|
|
|
namespace MP.Data.MgModels
|
|
{
|
|
public class RecipeModel : RecipeConfig
|
|
{
|
|
[BsonId]
|
|
[BsonRepresentation(BsonType.ObjectId)]
|
|
public string? Id { get; set; }
|
|
|
|
public int IdxPODL { get; set; } = 0;
|
|
public int IdxODL { get; set; } = 0;
|
|
|
|
public string RawRecipe { get; set; } = "";
|
|
|
|
}
|
|
}
|