entities

package
v0.0.0-...-088a89d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 16, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttachmentSeeder

type AttachmentSeeder interface {
	Seed(count uint)
	SetCardIDs(cardIDs []uint)
}

func NewAttachmentSeeder

func NewAttachmentSeeder(db *gorm.DB) AttachmentSeeder

type AttachmentSeederImpl

type AttachmentSeederImpl struct {
	// contains filtered or unexported fields
}

func (*AttachmentSeederImpl) Seed

func (s *AttachmentSeederImpl) Seed(count uint)

func (*AttachmentSeederImpl) SetCardIDs

func (s *AttachmentSeederImpl) SetCardIDs(ids []uint)

type BoardMemberSeeder

type BoardMemberSeeder interface {
	Seed(count uint)
	SetBoardIDs(boardIDs []uint)
	SetUserIDs(userIDs []uint)
	SetBoardRoleIDs(boardRoleIDs []uint)
}

func NewBoardMemberSeeder

func NewBoardMemberSeeder(db *gorm.DB) BoardMemberSeeder

type BoardMemberSeederImpl

type BoardMemberSeederImpl struct {
	// contains filtered or unexported fields
}

func (*BoardMemberSeederImpl) Seed

func (s *BoardMemberSeederImpl) Seed(count uint)

func (*BoardMemberSeederImpl) SetBoardIDs

func (s *BoardMemberSeederImpl) SetBoardIDs(ids []uint)

func (*BoardMemberSeederImpl) SetBoardRoleIDs

func (s *BoardMemberSeederImpl) SetBoardRoleIDs(ids []uint)

func (*BoardMemberSeederImpl) SetUserIDs

func (s *BoardMemberSeederImpl) SetUserIDs(ids []uint)

type BoardRoleSeeder

type BoardRoleSeeder interface {
	Seed()
	GetIDs() []uint
}

func NewBoardRoleSeeder

func NewBoardRoleSeeder(db *gorm.DB) BoardRoleSeeder

type BoardRoleSeederImpl

type BoardRoleSeederImpl struct {
	// contains filtered or unexported fields
}

func (*BoardRoleSeederImpl) GetIDs

func (s *BoardRoleSeederImpl) GetIDs() []uint

func (*BoardRoleSeederImpl) Seed

func (s *BoardRoleSeederImpl) Seed()

type BoardSeeder

type BoardSeeder interface {
	Seed(count uint)
	GetIDs() []uint
	SetUserIDs([]uint)
	GetCount() float64
}

func NewBoardSeeder

func NewBoardSeeder(db *gorm.DB) BoardSeeder

type BoardSeederImpl

type BoardSeederImpl struct {
	// contains filtered or unexported fields
}

func (*BoardSeederImpl) GetCount

func (s *BoardSeederImpl) GetCount() float64

func (*BoardSeederImpl) GetIDs

func (s *BoardSeederImpl) GetIDs() []uint

func (*BoardSeederImpl) Seed

func (s *BoardSeederImpl) Seed(count uint)

func (*BoardSeederImpl) SetUserIDs

func (s *BoardSeederImpl) SetUserIDs(ids []uint)

type CardAssigneeSeeder

type CardAssigneeSeeder interface {
	Seed(count uint)
}

func NewCardAssigneeSeeder

func NewCardAssigneeSeeder(db *gorm.DB) CardAssigneeSeeder

type CardAssigneeSeederImpl

type CardAssigneeSeederImpl struct {
	// contains filtered or unexported fields
}

func (*CardAssigneeSeederImpl) Seed

func (s *CardAssigneeSeederImpl) Seed(count uint)

type CardLabelSeeder

type CardLabelSeeder interface {
	Seed(count uint)
}

func NewCardLabelSeeder

func NewCardLabelSeeder(db *gorm.DB) CardLabelSeeder

type CardLabelSeederImpl

type CardLabelSeederImpl struct {
	// contains filtered or unexported fields
}

func (*CardLabelSeederImpl) Seed

func (s *CardLabelSeederImpl) Seed(count uint)

type CardSeeder

type CardSeeder interface {
	Seed(count uint)
	GetIDs() []uint
	GetCount() float64
	SetListIDs([]uint)
}

func NewCardSeeder

func NewCardSeeder(db *gorm.DB) CardSeeder

type CardSeederImpl

type CardSeederImpl struct {
	// contains filtered or unexported fields
}

func (*CardSeederImpl) GetCount

func (s *CardSeederImpl) GetCount() float64

func (*CardSeederImpl) GetIDs

func (s *CardSeederImpl) GetIDs() []uint

func (*CardSeederImpl) Seed

func (s *CardSeederImpl) Seed(count uint)

func (*CardSeederImpl) SetListIDs

func (s *CardSeederImpl) SetListIDs(ids []uint)

type CommentSeeder

type CommentSeeder interface {
	Seed(count uint)
	SetCardIDs(cardIDs []uint)
	SetUserIDs(userIDs []uint)
}

func NewCommentSeeder

func NewCommentSeeder(db *gorm.DB) CommentSeeder

type CommentSeederImpl

type CommentSeederImpl struct {
	// contains filtered or unexported fields
}

func (*CommentSeederImpl) Seed

func (s *CommentSeederImpl) Seed(count uint)

func (*CommentSeederImpl) SetCardIDs

func (s *CommentSeederImpl) SetCardIDs(ids []uint)

func (*CommentSeederImpl) SetUserIDs

func (s *CommentSeederImpl) SetUserIDs(ids []uint)

type LabelSeeder

type LabelSeeder interface {
	Seed(count uint)
	GetIDs() []uint
	SetBoardIDs([]uint)
}

func NewLabelSeeder

func NewLabelSeeder(db *gorm.DB) LabelSeeder

type LabelSeederImpl

type LabelSeederImpl struct {
	// contains filtered or unexported fields
}

func (*LabelSeederImpl) GetIDs

func (s *LabelSeederImpl) GetIDs() []uint

func (*LabelSeederImpl) Seed

func (s *LabelSeederImpl) Seed(count uint)

func (*LabelSeederImpl) SetBoardIDs

func (s *LabelSeederImpl) SetBoardIDs(ids []uint)

type ListSeeder

type ListSeeder interface {
	Seed(count uint)
	GetIDs() []uint
	GetCount() float64
	SetBoardIDs([]uint)
}

func NewListSeeder

func NewListSeeder(db *gorm.DB) ListSeeder

type ListSeederImpl

type ListSeederImpl struct {
	// contains filtered or unexported fields
}

func (*ListSeederImpl) GetCount

func (s *ListSeederImpl) GetCount() float64

func (*ListSeederImpl) GetIDs

func (s *ListSeederImpl) GetIDs() []uint

func (*ListSeederImpl) Seed

func (s *ListSeederImpl) Seed(count uint)

func (*ListSeederImpl) SetBoardIDs

func (s *ListSeederImpl) SetBoardIDs(ids []uint)

type PasswordSeeder

type PasswordSeeder interface {
	Seed()
	SetUserIDs(ids []uint)
}

func NewPasswordSeeder

func NewPasswordSeeder(db *gorm.DB) PasswordSeeder

type PasswordSeederImpl

type PasswordSeederImpl struct {
	// contains filtered or unexported fields
}

func (*PasswordSeederImpl) Seed

func (s *PasswordSeederImpl) Seed()

func (*PasswordSeederImpl) SetUserIDs

func (s *PasswordSeederImpl) SetUserIDs(ids []uint)

type RoleSeeder

type RoleSeeder interface {
	Seed()
	GetIDs() []uint
}

func NewRoleSeeder

func NewRoleSeeder(db *gorm.DB) RoleSeeder

type RoleSeederImpl

type RoleSeederImpl struct {
	// contains filtered or unexported fields
}

func (*RoleSeederImpl) GetIDs

func (s *RoleSeederImpl) GetIDs() []uint

func (*RoleSeederImpl) Seed

func (s *RoleSeederImpl) Seed()

type UserSeeder

type UserSeeder interface {
	Seed(count uint)
	SetRoleIDs(roleIDs []uint)
	GetIDs() []uint
}

func NewUserSeeder

func NewUserSeeder(db *gorm.DB) UserSeeder

type UserSeederImpl

type UserSeederImpl struct {
	// contains filtered or unexported fields
}

func (*UserSeederImpl) GetIDs

func (s *UserSeederImpl) GetIDs() []uint

func (*UserSeederImpl) Seed

func (s *UserSeederImpl) Seed(count uint)

func (*UserSeederImpl) SetRoleIDs

func (s *UserSeederImpl) SetRoleIDs(roleIDs []uint)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL