Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebtDomainRepository ¶
type DebtDomainRepository interface { GetByID(id uint64) (ExpenseComment, error) GetLimitedByExpenseID(expenseID uint64, offset int, limit uint) ([]ExpenseComment, error) Create(expenseComment *ExpenseComment) error Update(expenseComment ExpenseComment) error Delete(id uint64) error }
type ExpenseComment ¶
type ExpenseComment struct { ID uint64 UserID uint64 `gorm:"not null"` User domain_user.User ExpenseID uint64 `gorm:"not null"` Expense domain_expense.Expense Content string `gorm:"not null,size:400" validate:"description"` CreatedAt time.Time `gorm:"not null"` UpdatedAt time.Time `gorm:"not null"` }
Click to show internal directories.
Click to hide internal directories.