feat: get all plans and improvement

This commit is contained in:
ericprd
2025-02-24 20:18:09 +08:00
parent 3b2321d5db
commit d492f3ce44
11 changed files with 87 additions and 11 deletions
+1
View File
@@ -22,6 +22,7 @@ type Subscribe struct {
type SubscribePlan struct {
ID uuid.UUID `gorm:"type:uuid;primaryKey" json:"id"`
Code string `gorm:"not null" json:"code"`
Name string `gorm:"not null" json:"name"`
CreatedAt time.Time `gorm:"default:CURRENT_TIMESTAMP"`
UpdatedAt time.Time `gorm:"default:CURRENT_TIMESTAMP"`
}