Documentation ¶
Index ¶
Constants ¶
View Source
const ( FieldScope = "Scope" FieldGroup = "Group" FieldValue = "Value" )
Variables ¶
View Source
var ( ColumnScope = domain.ColumnName(FieldScope) ColumnGroup = domain.ColumnName(FieldGroup) ColumnValue = domain.ColumnName(FieldValue) )
Functions ¶
func Bind ¶ added in v0.11.20
func Bind(app *application.App, simple *Simple)
Types ¶
type ValueObject ¶ added in v0.5.2
type ValueObject struct { value_object.Base Scope string `sqlmapping:"column:scope;key;notUpdate;" sqlresult:"column:scope;" check:"required,lte=256"` Group string `sqlmapping:"column:group;key;notUpdate;" sqlresult:"column:group;" check:"required,lte=256"` Value string `sqlmapping:"column:value;notUpdate;" sqlresult:"column:value;" check:"required,lte=256"` }
func (*ValueObject) CheckKeyFields ¶ added in v0.5.2
func (valueObject *ValueObject) CheckKeyFields() error
func (*ValueObject) DomainCNName ¶ added in v0.5.2
func (valueObject *ValueObject) DomainCNName() string
func (*ValueObject) DomainCamelName ¶ added in v0.5.2
func (valueObject *ValueObject) DomainCamelName() string
func (*ValueObject) ForCreate ¶ added in v0.5.2
func (valueObject *ValueObject) ForCreate() error
Click to show internal directories.
Click to hide internal directories.