using System.ComponentModel.DataAnnotations; namespace ZB.MOM.WW.CBDDC.Persistence.BLite.Entities; /// /// BLite entity representing snapshot metadata (oplog pruning checkpoint). /// public class SnapshotMetadataEntity { /// /// Gets or sets the unique identifier for this entity (technical key). /// Auto-generated GUID string. /// [Key] public string Id { get; set; } = ""; /// /// Gets or sets the node identifier (business key). /// public string NodeId { get; set; } = ""; /// /// Gets or sets the physical time component of the timestamp. /// public long TimestampPhysicalTime { get; set; } /// /// Gets or sets the logical counter component of the timestamp. /// public int TimestampLogicalCounter { get; set; } /// /// Gets or sets the hash of the snapshot. /// public string Hash { get; set; } = ""; }