/* * Copyright 2026 Oleg Borodin * * This work is published and licensed under a Creative Commons * Attribution-NonCommercial-NoDerivatives 4.0 International License. * * Distribution of this work is permitted, but commercial use and * modifications are strictly prohibited. */ package descr import ( "mstore/pkg/auxuuid" ) type Grant struct { ID auxuuid.UUID `json:"id" db:"id"` AccountID auxuuid.UUID `json:"accountID" db:"account_id"` Right string `json:"right" db:"right"` Pattern string `json:"pattern" db:"pattern"` CreatedAt string `json:"createdAt" db:"created_at"` UpdatedAt string `json:"updatedAt" db:"updated_at"` CreatedBy auxuuid.UUID `json:"createdBy" db:"created_by"` UpdatedBy auxuuid.UUID `json:"updatedBy" db:"updated_by"` }