attribute

package
v1.4.1-beta Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Attribute

type Attribute struct {
	Id        int64  `gorm:"type:BIGINT(20);size:20;not null;auto_increment;primary_key;column:id;comment:主键ID;"`
	Target    int64  `gorm:"type:BIGINT(20);size:20;not null;column:target;comment:target id;index:tid; uniqueIndex:target_attribute;"`
	Attribute string `gorm:"type:varchar(20);not null;column:attribute;comment:属性;uniqueIndex:target_attribute;"`
	Value     string `gorm:"type:varchar(255);not null;column:value;comment:属性值;"`
}

func (*Attribute) IdValue

func (t *Attribute) IdValue() int64

Jump to

Keyboard shortcuts

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