Files
DbFirst/DbFirst.Application/Catalogs/CatalogReadDto.cs
OlgunR 1b4205219f Set string defaults to String.Empty in CatalogReadDto
Changed default values of CatTitle, CatString, and AddedWho from null! to String.Empty to prevent potential null reference issues.
2026-04-21 17:01:44 +02:00

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; }
}