changed column name

This commit is contained in:
2026-07-06 19:13:54 +05:00
parent 3ba5597a51
commit 08be61cbcd
33 changed files with 544 additions and 2129 deletions

View File

@@ -14,7 +14,7 @@ type LoanDocumentDTO struct {
ContentEn string `json:"contentEn"`
ContentRu string `json:"contentRu"`
ContentTm string `json:"contentTm"`
Status bool `json:"status"`
Active bool `json:"active"`
CreatedAt time.Time `json:"createdAt"`
UpdatedAt time.Time `json:"updatedAt"`
}
@@ -24,7 +24,7 @@ type CreateLoanDocumentDTO struct {
ContentEn string `json:"contentEn" binding:"required"`
ContentRu string `json:"contentRu" binding:"required"`
ContentTm string `json:"contentTm" binding:"required"`
Status *bool `json:"status"`
Active *bool `json:"active"`
}
type UpdateLoanDocumentDTO struct {
@@ -32,16 +32,16 @@ type UpdateLoanDocumentDTO struct {
ContentEn string `json:"contentEn" binding:"required"`
ContentRu string `json:"contentRu" binding:"required"`
ContentTm string `json:"contentTm" binding:"required"`
Status bool `json:"status"`
Active bool `json:"active"`
}
type UpdateLoanDocumentStatusDTO struct {
Status bool `json:"status"`
type UpdateLoanDocumentActiveDTO struct {
Active bool `json:"active"`
}
type ListFilter struct {
DocumentName string
Status *bool
Active *bool
Page int
Limit int
}