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