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
+1
View File
@@ -76,6 +76,7 @@ type LetterOutgoingAttachment struct {
FileType string `gorm:"not null" json:"file_type"`
UploadedBy *uuid.UUID `json:"uploaded_by,omitempty"`
UploadedAt time.Time `gorm:"autoCreateTime" json:"uploaded_at"`
IsFinal bool `gorm:"default:false" json:"is_final"`
}
func (LetterOutgoingAttachment) TableName() string { return "letter_outgoing_attachments" }