value_object

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RelativeDomainPath

func RelativeDomainPath(valueObject ValueObject) string

func SnakeDomainName

func SnakeDomainName(valueObject ValueObject) string

func TableName

func TableName(schema string, valueObject ValueObject) string

Types

type Base

type Base struct{}

func (*Base) CheckKeyFields

func (valueObject *Base) CheckKeyFields() error

func (*Base) DBSchema

func (valueObject *Base) DBSchema() string

func (*Base) DomainCNName

func (valueObject *Base) DomainCNName() string

func (*Base) DomainCamelName

func (valueObject *Base) DomainCamelName() string

func (*Base) ForCreate

func (valueObject *Base) ForCreate() error

type ValueObject

type ValueObject interface {
	domain.Object
	DBSchema() string
	DomainCNName() string
	DomainCamelName() string
	CheckKeyFields() error
	ForCreate() error
}

Jump to

Keyboard shortcuts

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