Reformat/cleanup
All checks were successful
NuGet Package Publish / nuget (push) Successful in 1m10s
All checks were successful
NuGet Package Publish / nuget (push) Successful in 1m10s
This commit is contained in:
@@ -1,27 +1,27 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZB.MOM.WW.CBDDC.Sample.Console;
|
||||
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace ZB.MOM.WW.CBDDC.Sample.Console;
|
||||
|
||||
public class User
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the unique user identifier.
|
||||
/// Gets or sets the unique user identifier.
|
||||
/// </summary>
|
||||
[Key]
|
||||
public string Id { get; set; } = "";
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the user name.
|
||||
/// Gets or sets the user name.
|
||||
/// </summary>
|
||||
public string? Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the user age.
|
||||
/// Gets or sets the user age.
|
||||
/// </summary>
|
||||
public int Age { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the user address.
|
||||
/// Gets or sets the user address.
|
||||
/// </summary>
|
||||
public Address? Address { get; set; }
|
||||
}
|
||||
@@ -29,7 +29,7 @@ public class User
|
||||
public class Address
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the city value.
|
||||
/// Gets or sets the city value.
|
||||
/// </summary>
|
||||
public string? City { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user