25 lines
463 B
C#
25 lines
463 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
[Serializable]
|
|
public class DushMaterialEntry
|
|
{
|
|
public string key;
|
|
public int count;
|
|
}
|
|
|
|
[Serializable]
|
|
public class DushMaterialLedgerPayload
|
|
{
|
|
public int version = 1;
|
|
public long lastUpdatedUtcTicks;
|
|
public List<DushMaterialEntry> entries = new List<DushMaterialEntry>();
|
|
}
|
|
|
|
[Serializable]
|
|
public class DushMaterialLedgerEnvelope
|
|
{
|
|
public string payload;
|
|
public string signature;
|
|
}
|