Add License

This commit is contained in:
aditya.siregar
2024-07-29 22:30:29 +07:00
parent 6a987f78b9
commit f645f23fd4
9 changed files with 82 additions and 30 deletions
+3 -2
View File
@@ -17,8 +17,9 @@ type License struct {
}
type LicenseParam struct {
Limit int `form:"limit,default=10"`
Offset int `form:"offset,default=0"`
Limit int `form:"limit,default=10"`
Offset int `form:"offset,default=0"`
Status string `form:"status,default="`
}
func (r *License) ToEntity() (*entity.License, error) {