Refactored DTO classes by removing unnecessary using statements and internal wrappers, making them public, and adding explicit properties with default values. Clarified namespaces and improved accessibility for use in API contracts or service layers. Added CatalogUpdateProcedure to CatalogWriteDto to specify update operation type.
12 lines
414 B
C#
12 lines
414 B
C#
namespace DbFirst.Contracts.Catalogs;
|
|
|
|
public class CatalogReadDto
|
|
{
|
|
public int Guid { get; set; }
|
|
public string CatTitle { get; set; } = string.Empty;
|
|
public string CatString { get; set; } = string.Empty;
|
|
public string AddedWho { get; set; } = string.Empty;
|
|
public DateTime AddedWhen { get; set; }
|
|
public string? ChangedWho { get; set; }
|
|
public DateTime? ChangedWhen { get; set; }
|
|
} |