shoc-backend/Api.SeaHavenIndustries/DTOs/Comments_DTO.cs
Adam Moussa be70c84add Make Comments_DTO fields nullable for JSON endpoint compatibility
- Text, UserId, CreatedDate are set server-side, not required from client
2026-04-16 18:24:04 -04:00

12 lines
367 B
C#

namespace Api.SeaHavenIndustries.DTOs
{
public class Comments_DTO
{
public string? Text { get; set; }
public IFormFile? Document { get; set; }
public int WorkorderId { get; set; }
public DateTime? CreatedDate { get; set; }
public string? UserId { get; set; }
public string? CommentType { get; set; }
}
}