2025-02-24 16:48:20 +08:00
|
|
|
package subscribeplandomain
|
|
|
|
|
|
2025-03-08 22:46:05 +08:00
|
|
|
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
|
|
|
}
|