namespace ZB.MOM.WW.OtOpcUa.Configuration.Entities; /// /// v3 Raw-tree driver-organizing folder. Nestable (Kepware-style) directly under a cluster or /// under another . Folders group rows; they /// contribute the leading segments of a driver's RawPath. /// public sealed class RawFolder { /// Gets or sets the database row identifier (PK). public Guid RawFolderRowId { get; set; } /// Stable logical ID, unique fleet-wide. public required string RawFolderId { get; set; } /// Logical FK to — the folder is cluster-rooted. public required string ClusterId { get; set; } /// Logical FK to a parent ; = root under the cluster. public string? ParentRawFolderId { get; set; } /// Sibling-unique folder name. A RawPath segment: no /, no lead/trail whitespace. public required string Name { get; set; } /// Sibling display ordering. public int SortOrder { get; set; } /// Optimistic concurrency token for last-write-wins detection in the v2 live-edit model. public byte[] RowVersion { get; set; } = Array.Empty(); }