=== Summary: 675 files | 7 generated | 484 fresh | 4605 untracked | 4268 adopted | 355 marked | 466 validated-ok | 2+0 stale (sig+body) | 0 skipped | 0 failed | elapsed 11:08:11.442 (40091.44s) ===
This commit is contained in:
@@ -6,6 +6,7 @@ namespace adas_core.Domain.Models.MongoModels;
|
||||
/// <summary>
|
||||
/// Represents a section, typically used to group or encapsulate a distinct portion of related content or functionality within a larger structure.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=08dfa80 -->
|
||||
public class Section
|
||||
{
|
||||
// ReSharper disable once InconsistentNaming
|
||||
@@ -39,6 +40,7 @@ public class Section
|
||||
/// </summary>
|
||||
/// <param name="other">The <see cref="Section"/> instance to compare with the current one.</param>
|
||||
/// <returns><c>true</c> if both sections share the same <see cref="Section.Id"/>; otherwise, <c>false</c>.</returns>
|
||||
/// <!-- aidoc:v1 sig=b37ab9c body=200362c -->
|
||||
public bool Equals(Section? other)
|
||||
{
|
||||
return other != null &&
|
||||
@@ -49,6 +51,7 @@ public class Section
|
||||
/// Returns a string representation of the Section, including its identifier.
|
||||
/// </summary>
|
||||
/// <returns>A string formatted as "[Section id: {Id}]" containing the section's identifier.</returns>
|
||||
/// <!-- aidoc:v1 sig=d27f326 body=50b2b4e -->
|
||||
public override string ToString()
|
||||
{
|
||||
return "[Section id: " + Id + "]";
|
||||
@@ -57,6 +60,7 @@ public class Section
|
||||
/// <summary>
|
||||
/// Represents an individual item within a section, encapsulating the data and behavior associated with that entry.
|
||||
/// </summary>
|
||||
/// <!-- aidoc:v1 sig=77db232 -->
|
||||
public class SectionItem
|
||||
{
|
||||
public string? Group { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user