Documentation ¶
Index ¶
- type GeneralFilter
- type GeneralFilterOption
- type Transaction
- func (t *Transaction) GetCreatedAt() time.Time
- func (t *Transaction) GetDescription() string
- func (t *Transaction) GetId() string
- func (t *Transaction) GetIdName() string
- func (t *Transaction) GetName() string
- func (t *Transaction) GetReturnTrans() *bool
- func (t *Transaction) GetSalesDate() *time.Time
- func (t *Transaction) GetUnit() int
- func (t *Transaction) GetUpdatedAt() time.Time
- type TransactionDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GeneralFilter ¶
type GeneralFilter struct { Id string IsDeleted bool Q string Option GeneralFilterOption }
type GeneralFilterOption ¶
type Transaction ¶
type Transaction struct {
// contains filtered or unexported fields
}
func (*Transaction) GetCreatedAt ¶
func (t *Transaction) GetCreatedAt() time.Time
func (*Transaction) GetDescription ¶
func (t *Transaction) GetDescription() string
func (*Transaction) GetId ¶
func (t *Transaction) GetId() string
func (*Transaction) GetIdName ¶
func (t *Transaction) GetIdName() string
func (*Transaction) GetName ¶
func (t *Transaction) GetName() string
func (*Transaction) GetReturnTrans ¶
func (t *Transaction) GetReturnTrans() *bool
func (*Transaction) GetSalesDate ¶
func (t *Transaction) GetSalesDate() *time.Time
func (*Transaction) GetUnit ¶
func (t *Transaction) GetUnit() int
func (*Transaction) GetUpdatedAt ¶
func (t *Transaction) GetUpdatedAt() time.Time
type TransactionDto ¶
type TransactionDto struct { Id string IdName string Name string ReturnTrans *bool SalesDate *time.Time Unit int Description string CreatedAt time.Time UpdatedAt time.Time }
func (*TransactionDto) Create ¶
func (dto *TransactionDto) Create() *Transaction
func (*TransactionDto) New ¶
func (dto *TransactionDto) New() *Transaction
func (*TransactionDto) Update ¶
func (dto *TransactionDto) Update(data *TransactionDto) *Transaction
func (*TransactionDto) Validate ¶
func (data *TransactionDto) Validate() error
Click to show internal directories.
Click to hide internal directories.