changed column name
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user