first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package model
|
||||
|
||||
import (
|
||||
"time"
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
type Subscription struct {
|
||||
ID int `json:"id"`
|
||||
ServiceName string `json:"service_name"`
|
||||
Price int `json:"price"`
|
||||
UserID uuid.UUID `json:"user_id"`
|
||||
StartDate time.Time `json:"start_date"`
|
||||
EndDate *time.Time `json:"end_date,omitempty"`
|
||||
}
|
||||
Reference in New Issue
Block a user