feat: add and delete amende and point by admin
This commit is contained in:
@@ -17,8 +17,8 @@ type Client struct {
|
||||
LastPenaltyReason string `gorm:"column:last_penalty_reason" json:"last_penalty_reason"`
|
||||
MustChangePassword bool `gorm:"column:must_change_password;default:false" json:"must_change_password"`
|
||||
ReferralBalance float64 `gorm:"column:referral_balance;default:0" json:"referral_balance"`
|
||||
// points_extra est un JSONB géré manuellement (type non supporté nativement par GORM)
|
||||
PointsExtra map[string]int `gorm:"-" json:"points_extra"`
|
||||
Parrain string `gorm:"column:parrain" json:"parrain"`
|
||||
CreatedAt time.Time `gorm:"autoCreateTime" json:"created_at"`
|
||||
UpdatedAt time.Time `gorm:"autoUpdateTime" json:"updated_at"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user