23 lines
575 B
Go
Raw Normal View History

2025-02-24 16:48:20 +08:00
package subscribeplandomain
import "time"
type SubscribePlan struct {
ID string `json:"id"`
Code string `json:"code"`
Name string `json:"name"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}
type SubscribePlanUpdate struct {
Code string `json:"code" validate:"required"`
Name string `json:"name" validate:"required"`
UpdatedAt time.Time `json:"updated_at"`
}
2025-02-24 16:48:20 +08:00
type SubscribePlanReq struct {
Code string `json:"code" validate:"required"`
2025-02-24 20:18:09 +08:00
Name string `json:"name" validate:"required"`
2025-02-24 16:48:20 +08:00
}