Changed default values of CatTitle, CatString, and AddedWho from null! to String.Empty to prevent potential null reference issues.
13 lines
414 B
C#
13 lines
414 B
C#
namespace DbFirst.Application.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; }
|
|
}
|