mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-04 13:42:14 +00:00
- 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
12 lines
364 B
C#
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; }
|
|
}
|
|
}
|