requestFeat

package
v0.0.0-...-de5a067 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Domain

type Domain struct {
	ID          string
	CompanyID   string
	RequestType string
	Title       string
	Reason      string
	Status      bool
	RequestDate string
	RequestTime string
	CreatedAt   time.Time
	UpdatedAt   time.Time
}

func NewRequestFeat

func NewRequestFeat(id, companyID, requestType, title, reason string) Domain

func NewRequestFeatCounseling

func NewRequestFeatCounseling(id, companyID, requestType, title, reason, requestDate, requestTime string) Domain

type RequestFeatRepository

type RequestFeatRepository interface {
	// InsertRequestFeat insert new request feat
	InsertRequestFeat(domain Domain) (id string, err error)
}

type RequestFeatService

type RequestFeatService interface {
	// CreateRequestFeat create new request feat
	CreateRequestFeat(upsertRequestFeat spec.UpsertRequestFeat) (id string, err error)
}

func NewRequestFeatService

func NewRequestFeatService(repo RequestFeatRepository) RequestFeatService

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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