Kepler core
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

29 lines
924 B

package metas
import (
"time"
)
const PROVIDER = "metas_providers"
type Provider struct {
Id string `json:"id,omitempty" xql:"id,pk"`
FullName string `json:"fullName"`
ShortName string `json:"shortName"`
Description string `json:"description"`
AppName string `json:"appName"`
AppKey string `json:"appKey"`
Created *time.Time `json:"created,omitempty"`
Updated *time.Time `json:"updated,omitempty"`
}
const PROVIDERCATEGORY = "metas_provider_categories"
type ProviderCategory struct {
ProviderId string `json:"providerId" xql:",pk"`
CategoryId string `json:"categoryId" xql:",pk"`
RefId string `json:"refId"`
Allowed string `json:"allowed"`
AutoPub bool `json:"autoPub" xql:"auto_pub"`
Created *time.Time `json:"created,omitempty"`
Updated *time.Time `json:"updated,omitempty"`
}