letter outgoint attachment

This commit is contained in:
efrilm
2025-12-05 22:40:16 +07:00
parent 43f67a5381
commit 7b9db24c83
5 changed files with 11 additions and 5 deletions
@@ -43,6 +43,7 @@ type CreateOutgoingLetterAttachment struct {
FileURL string `json:"file_url" validate:"required"`
FileName string `json:"file_name" validate:"required"`
FileType string `json:"file_type" validate:"required"`
IsFinal bool `json:"is_final" validate:"omitempty"`
}
type CreateOutgoingLetterRequest struct {
@@ -79,6 +80,7 @@ type OutgoingLetterAttachmentResponse struct {
FileName string `json:"file_name"`
FileType string `json:"file_type"`
UploadedAt time.Time `json:"uploaded_at"`
IsFinal bool `json:"is_final"`
}
type OutgoingLetterApprovalResponse struct {