Customer Order

This commit is contained in:
aditya.siregar
2024-08-04 01:16:25 +07:00
parent 265dd9b6e8
commit bdf930445c
30 changed files with 832 additions and 43 deletions
+4
View File
@@ -15,6 +15,10 @@ type DiscoveryHomeParam struct {
Discover string `form:"discover" json:"discover" example:"0"`
}
type DiscoverySearchByID struct {
ID int64 `form:"id" json:"id" example:"0"`
}
func (d *DiscoveryHomeParam) ToEntity() *entity.DiscoverySearch {
if d.Limit == 0 {
d.Limit = 10