domain

package
v0.0.0-...-d2a2bec Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Community

type Community struct {
	alira.Model
	Code            string
	Name            string
	Avatar          string
	Background      string
	Category        string
	Description     string
	LongDescription string
	BirthDate       time.Time `gorm:"default:null"`
	Interest        string    `gorm:"default:null"`
	Address         string
	City            string
	State           string
	Country         string
	PostalCode      string
	Telephone       string  `gorm:"default:null"`
	Mobile          string  `gorm:"default:null"`
	Website         string  `gorm:"default:null"`
	Geocode         string  `gorm:"default:null"`
	Longitude       float64 `gorm:"default:null"`
	Latitude        float64 `gorm:"default:null"`
	Finance         string  `gorm:"default:'NONE'"`
	Active          bool    `gorm:"default:true"`
}

func (Community) TableName

func (Community) TableName() string

type CommunityMember

type CommunityMember struct {
	alira.Model
	CommunityID  string
	UserID       string
	Creator      bool
	Admin        bool
	JoinBy       string `gorm:"default:'INVITE'"`
	Approved     bool   `gorm:"default:false"`
	AdditionInfo string
}

func (CommunityMember) TableName

func (CommunityMember) TableName() string

Jump to

Keyboard shortcuts

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