Sharable rewind point

This commit is contained in:
2025-12-27 14:24:35 +08:00
parent b51a086031
commit bb5d70eddb
3 changed files with 94 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DysonNetwork.Shared.Models;
@@ -13,6 +14,7 @@ public class SnRewindPoint : ModelBase
/// this field provide the clues for the client to parsing the data correctly.
/// </summary>
public int SchemaVersion { get; set; } = 1;
[MaxLength(4096)] public string? SharableCode { get; set; }
[Column(TypeName = "jsonb")] public Dictionary<string, object?> Data { get; set; } = new();