using System.ComponentModel.DataAnnotations;
namespace ZB.MOM.WW.CBDDC.Sample.Console;
public class User
{
///
/// Gets or sets the unique user identifier.
///
[Key]
public string Id { get; set; } = "";
///
/// Gets or sets the user name.
///
public string? Name { get; set; }
///
/// Gets or sets the user age.
///
public int Age { get; set; }
///
/// Gets or sets the user address.
///
public Address? Address { get; set; }
}
public class Address
{
///
/// Gets or sets the city value.
///
public string? City { get; set; }
}