shoc-backend/Api.SeaHavenIndustries/DTOs/Comments_DTO.cs
Adam Moussa e1f57d3fb2 Add comment types, audit logging, and WorkOrderAuditLog table
- Add CommentType field to Comments (customer, vendor, internal)
- Add Status field to EditWorkorder_DTO
- Create WorkOrderAuditLog model tracking field-level changes
- Log all field changes on work order edit and status change
- Include commentType and auditLog in GetWorkorderById response
- Set CommentType=customer on synced comments from DynamoDB
- Add BackfillCommentTypes endpoint for existing data
2026-04-16 18:09:57 -04:00

12 lines
364 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; }
}
}