Refactor DTOs: make public, add properties, clean up

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.
This commit is contained in:
OlgunR
2026-04-23 11:48:45 +02:00
parent b0d60461b4
commit e4624c92ef
6 changed files with 47 additions and 60 deletions

View File

@@ -1,12 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DbFirst.Contracts.MassData;
namespace DbFirst.Contracts.MassData
public class MassDataWriteDto
{
internal class MassDataWriteDto
{
}
}
public string CustomerName { get; set; } = string.Empty;
public decimal Amount { get; set; }
public string Category { get; set; } = string.Empty;
public bool StatusFlag { get; set; }
}