23 lines
636 B
C#
23 lines
636 B
C#
|
using MongoDB.Bson.Serialization.Attributes;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
|
|||
|
namespace ET
|
|||
|
{
|
|||
|
public class VoucherLog : Entity
|
|||
|
{
|
|||
|
[BsonIgnore]
|
|||
|
public bool isModify;
|
|||
|
/// <summary>
|
|||
|
/// key=天
|
|||
|
/// </summary>
|
|||
|
[BsonDictionaryOptions(Representation = MongoDB.Bson.Serialization.Options.DictionaryRepresentation.ArrayOfArrays)]
|
|||
|
public Dictionary<int, string> logDic = new();
|
|||
|
}
|
|||
|
public class VoucherLogComponent : Entity
|
|||
|
{
|
|||
|
public static VoucherLogComponent instance;
|
|||
|
public Dictionary<long, VoucherLog> VoucherLogDic = new();
|
|||
|
}
|
|||
|
}
|