生成门店 service 层代码
This commit is contained in:
@ -16,11 +16,32 @@ type Store struct {
|
||||
Status int `json:"status" orm:"status,default:1" dc:"状态:1=正常营业,2=暂停营业,3=已关闭"`
|
||||
}
|
||||
|
||||
type CreateIn struct {
|
||||
Name string `json:"name" v:"required" dc:"门店名称"`
|
||||
type StoreCreateIn struct {
|
||||
Name string
|
||||
}
|
||||
|
||||
type UpdateIn struct {
|
||||
type StoreUpdateIn struct {
|
||||
Id int
|
||||
Name string
|
||||
}
|
||||
|
||||
type StoreListIn struct {
|
||||
MerchantId int
|
||||
Page int
|
||||
Size int
|
||||
Status int
|
||||
}
|
||||
|
||||
type StoreListOut struct {
|
||||
List []Store
|
||||
Total int
|
||||
}
|
||||
type StoreInfoIn struct {
|
||||
Id int
|
||||
}
|
||||
type StoreInfoOut struct {
|
||||
}
|
||||
|
||||
type StoreDeleteIn struct {
|
||||
Id int
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user