Initialize CBDD solution and add a .NET-focused gitignore for generated artifacts.

This commit is contained in:
Joseph Doherty
2026-02-20 12:54:07 -05:00
commit b8ed5ec500
214 changed files with 101452 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
using ZB.MOM.WW.CBDD.Bson;
using System;
using System.Collections.Generic;
namespace ZB.MOM.WW.CBDD.Tests.Benchmark;
public class Address
{
public string Street { get; set; } = string.Empty;
public string City { get; set; } = string.Empty;
public string ZipCode { get; set; } = string.Empty;
}
public class WorkHistory
{
public string CompanyName { get; set; } = string.Empty;
public string Title { get; set; } = string.Empty;
public int DurationYears { get; set; }
public List<string> Tags { get; set; } = new();
}
public class Person
{
public ObjectId Id { get; set; }
public string FirstName { get; set; } = string.Empty;
public string LastName { get; set; } = string.Empty;
public int Age { get; set; }
public string? Bio { get; set; } = string.Empty;
public DateTime CreatedAt { get; set; }
// Complex fields
public decimal Balance { get; set; }
public Address HomeAddress { get; set; } = new();
public List<WorkHistory> EmploymentHistory { get; set; } = new();
}