model

package
v0.0.0-...-dda80a1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package model is a generated protocol buffer package.

It is generated from these files:

schema/proto/model/common.proto

It has these top-level messages:

Address
Education
Media
Subscriptions
SocialMedia
Details
Experience
Investment

Index

Constants

This section is empty.

Variables

View Source
var AccountType_name = map[int32]string{
	0: "RegularUser",
	1: "Startup",
	2: "Investor",
}
View Source
var AccountType_value = map[string]int32{
	"RegularUser": 0,
	"Startup":     1,
	"Investor":    2,
}
View Source
var TeamAccountType_name = map[int32]string{
	0: "StartupTeam",
	1: "InvestorTeam",
}
View Source
var TeamAccountType_value = map[string]int32{
	"StartupTeam":  0,
	"InvestorTeam": 1,
}

Functions

func DefaultDeleteAddress

func DefaultDeleteAddress(ctx context.Context, in *Address, db *gorm1.DB) error

func DefaultDeleteAddressSet

func DefaultDeleteAddressSet(ctx context.Context, in []*Address, db *gorm1.DB) error

func DefaultDeleteEducation

func DefaultDeleteEducation(ctx context.Context, in *Education, db *gorm1.DB) error

func DefaultDeleteEducationSet

func DefaultDeleteEducationSet(ctx context.Context, in []*Education, db *gorm1.DB) error

func DefaultDeleteExperience

func DefaultDeleteExperience(ctx context.Context, in *Experience, db *gorm1.DB) error

func DefaultDeleteExperienceSet

func DefaultDeleteExperienceSet(ctx context.Context, in []*Experience, db *gorm1.DB) error

func DefaultDeleteInvestment

func DefaultDeleteInvestment(ctx context.Context, in *Investment, db *gorm1.DB) error

func DefaultDeleteInvestmentSet

func DefaultDeleteInvestmentSet(ctx context.Context, in []*Investment, db *gorm1.DB) error

func DefaultDeleteMedia

func DefaultDeleteMedia(ctx context.Context, in *Media, db *gorm1.DB) error

func DefaultDeleteMediaSet

func DefaultDeleteMediaSet(ctx context.Context, in []*Media, db *gorm1.DB) error

func DefaultDeleteSocialMedia

func DefaultDeleteSocialMedia(ctx context.Context, in *SocialMedia, db *gorm1.DB) error

func DefaultDeleteSocialMediaSet

func DefaultDeleteSocialMediaSet(ctx context.Context, in []*SocialMedia, db *gorm1.DB) error

func DefaultDeleteSubscriptions

func DefaultDeleteSubscriptions(ctx context.Context, in *Subscriptions, db *gorm1.DB) error

func DefaultDeleteSubscriptionsSet

func DefaultDeleteSubscriptionsSet(ctx context.Context, in []*Subscriptions, db *gorm1.DB) error

Types

type AccountType

type AccountType int32
const (
	AccountType_RegularUser AccountType = 0
	AccountType_Startup     AccountType = 1
	AccountType_Investor    AccountType = 2
)

func (AccountType) EnumDescriptor

func (AccountType) EnumDescriptor() ([]byte, []int)

func (AccountType) String

func (x AccountType) String() string

type Address

type Address struct {
	Id                   int32                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Longitude            string               `protobuf:"bytes,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
	Latitude             string               `protobuf:"bytes,3,opt,name=latitude,proto3" json:"latitude,omitempty"`
	City                 string               `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"`
	State                string               `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	Country              string               `protobuf:"bytes,6,opt,name=country,proto3" json:"country,omitempty"`
	ZipCode              string               `protobuf:"bytes,7,opt,name=zipCode,proto3" json:"zipCode,omitempty"`
	Street               string               `protobuf:"bytes,8,opt,name=street,proto3" json:"street,omitempty"`
	BuildingNumber       string               `protobuf:"bytes,9,opt,name=building_number,json=buildingNumber,proto3" json:"building_number,omitempty"`
	CreatedAt            *timestamp.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt            *timestamp.Timestamp `protobuf:"bytes,11,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt            *timestamp.Timestamp `protobuf:"bytes,12,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func DefaultApplyFieldMaskAddress

func DefaultApplyFieldMaskAddress(ctx context.Context, patchee *Address, patcher *Address, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Address, error)

DefaultApplyFieldMaskAddress patches an pbObject with patcher according to a field mask.

func DefaultCreateAddress

func DefaultCreateAddress(ctx context.Context, in *Address, db *gorm1.DB) (*Address, error)

DefaultCreateAddress executes a basic gorm create call

func DefaultListAddress

func DefaultListAddress(ctx context.Context, db *gorm1.DB) ([]*Address, error)

DefaultListAddress executes a gorm list call

func DefaultPatchAddress

func DefaultPatchAddress(ctx context.Context, in *Address, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Address, error)

DefaultPatchAddress executes a basic gorm update call with patch behavior

func DefaultPatchSetAddress

func DefaultPatchSetAddress(ctx context.Context, objects []*Address, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Address, error)

DefaultPatchSetAddress executes a bulk gorm update call with patch behavior

func DefaultReadAddress

func DefaultReadAddress(ctx context.Context, in *Address, db *gorm1.DB) (*Address, error)

DefaultReadAddress executes a basic gorm read call

func DefaultStrictUpdateAddress

func DefaultStrictUpdateAddress(ctx context.Context, in *Address, db *gorm1.DB) (*Address, error)

DefaultStrictUpdateAddress clears first level 1:many children and then executes a gorm update call

func (*Address) Descriptor

func (*Address) Descriptor() ([]byte, []int)

func (*Address) GetBuildingNumber

func (m *Address) GetBuildingNumber() string

func (*Address) GetCity

func (m *Address) GetCity() string

func (*Address) GetCountry

func (m *Address) GetCountry() string

func (*Address) GetCreatedAt

func (m *Address) GetCreatedAt() *timestamp.Timestamp

func (*Address) GetDeletedAt

func (m *Address) GetDeletedAt() *timestamp.Timestamp

func (*Address) GetId

func (m *Address) GetId() int32

func (*Address) GetLatitude

func (m *Address) GetLatitude() string

func (*Address) GetLongitude

func (m *Address) GetLongitude() string

func (*Address) GetState

func (m *Address) GetState() string

func (*Address) GetStreet

func (m *Address) GetStreet() string

func (*Address) GetUpdatedAt

func (m *Address) GetUpdatedAt() *timestamp.Timestamp

func (*Address) GetZipCode

func (m *Address) GetZipCode() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) Reset

func (m *Address) Reset()

func (*Address) String

func (m *Address) String() string

func (*Address) ToORM

func (m *Address) ToORM(ctx context.Context) (AddressORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

func (*Address) Validate

func (this *Address) Validate() error

func (*Address) XXX_DiscardUnknown

func (m *Address) XXX_DiscardUnknown()

func (*Address) XXX_Marshal

func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Address) XXX_Merge

func (m *Address) XXX_Merge(src proto.Message)

func (*Address) XXX_Size

func (m *Address) XXX_Size() int

func (*Address) XXX_Unmarshal

func (m *Address) XXX_Unmarshal(b []byte) error

type AddressORM

type AddressORM struct {
	BuildingNumber string
	City           string
	Country        string
	CreatedAt      *time.Time
	DeletedAt      *time.Time
	Id             int32 `gorm:"type:serial;primary_key"`
	Latitude       string
	Longitude      string
	State          string
	Street         string
	UpdatedAt      *time.Time
	ZipCode        string
}

func (AddressORM) TableName

func (AddressORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*AddressORM) ToPB

func (m *AddressORM) ToPB(ctx context.Context) (Address, error)

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type AddressORMWithAfterCreate_

type AddressORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type AddressORMWithAfterDeleteSet

type AddressORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Address, *gorm1.DB) error
}

type AddressORMWithAfterDelete_

type AddressORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type AddressORMWithAfterListFind

type AddressORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]AddressORM) error
}

type AddressORMWithAfterReadFind

type AddressORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type AddressORMWithAfterStrictUpdateSave

type AddressORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type AddressORMWithBeforeCreate_

type AddressORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeDeleteSet

type AddressORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Address, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeDelete_

type AddressORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeListApplyQuery

type AddressORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeListFind

type AddressORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeReadApplyQuery

type AddressORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeReadFind

type AddressORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeStrictUpdateCleanup

type AddressORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressORMWithBeforeStrictUpdateSave

type AddressORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type AddressWithAfterPatchSave

type AddressWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Address, *field_mask1.FieldMask, *gorm1.DB) error
}

type AddressWithAfterToORM

type AddressWithAfterToORM interface {
	AfterToORM(context.Context, *AddressORM) error
}

AddressAfterToORM called after default ToORM code

type AddressWithAfterToPB

type AddressWithAfterToPB interface {
	AfterToPB(context.Context, *Address) error
}

AddressAfterToPB called after default ToPB code

type AddressWithBeforePatchApplyFieldMask

type AddressWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Address, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type AddressWithBeforePatchRead

type AddressWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Address, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type AddressWithBeforePatchSave

type AddressWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Address, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type AddressWithBeforeToORM

type AddressWithBeforeToORM interface {
	BeforeToORM(context.Context, *AddressORM) error
}

AddressBeforeToORM called before default ToORM code

type AddressWithBeforeToPB

type AddressWithBeforeToPB interface {
	BeforeToPB(context.Context, *Address) error
}

AddressBeforeToPB called before default ToPB code

type Details

type Details struct {
	IPOStatus            string   `protobuf:"bytes,1,opt,name=IPOStatus,proto3" json:"IPOStatus,omitempty"`
	CompanyType          string   `protobuf:"bytes,2,opt,name=CompanyType,proto3" json:"CompanyType,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func DefaultApplyFieldMaskDetails

func DefaultApplyFieldMaskDetails(ctx context.Context, patchee *Details, patcher *Details, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Details, error)

DefaultApplyFieldMaskDetails patches an pbObject with patcher according to a field mask.

func DefaultCreateDetails

func DefaultCreateDetails(ctx context.Context, in *Details, db *gorm1.DB) (*Details, error)

DefaultCreateDetails executes a basic gorm create call

func DefaultListDetails

func DefaultListDetails(ctx context.Context, db *gorm1.DB) ([]*Details, error)

DefaultListDetails executes a gorm list call

func (*Details) Descriptor

func (*Details) Descriptor() ([]byte, []int)

func (*Details) GetCompanyType

func (m *Details) GetCompanyType() string

func (*Details) GetIPOStatus

func (m *Details) GetIPOStatus() string

func (*Details) ProtoMessage

func (*Details) ProtoMessage()

func (*Details) Reset

func (m *Details) Reset()

func (*Details) String

func (m *Details) String() string

func (*Details) ToORM

func (m *Details) ToORM(ctx context.Context) (DetailsORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

func (*Details) Validate

func (this *Details) Validate() error

func (*Details) XXX_DiscardUnknown

func (m *Details) XXX_DiscardUnknown()

func (*Details) XXX_Marshal

func (m *Details) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Details) XXX_Merge

func (m *Details) XXX_Merge(src proto.Message)

func (*Details) XXX_Size

func (m *Details) XXX_Size() int

func (*Details) XXX_Unmarshal

func (m *Details) XXX_Unmarshal(b []byte) error

type DetailsORM

type DetailsORM struct {
	CompanyType string
	IPOStatus   string
}

func (DetailsORM) TableName

func (DetailsORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*DetailsORM) ToPB

func (m *DetailsORM) ToPB(ctx context.Context) (Details, error)

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type DetailsORMWithAfterCreate_

type DetailsORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type DetailsORMWithAfterListFind

type DetailsORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]DetailsORM) error
}

type DetailsORMWithBeforeCreate_

type DetailsORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type DetailsORMWithBeforeListApplyQuery

type DetailsORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type DetailsORMWithBeforeListFind

type DetailsORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type DetailsWithAfterToORM

type DetailsWithAfterToORM interface {
	AfterToORM(context.Context, *DetailsORM) error
}

DetailsAfterToORM called after default ToORM code

type DetailsWithAfterToPB

type DetailsWithAfterToPB interface {
	AfterToPB(context.Context, *Details) error
}

DetailsAfterToPB called after default ToPB code

type DetailsWithBeforeToORM

type DetailsWithBeforeToORM interface {
	BeforeToORM(context.Context, *DetailsORM) error
}

DetailsBeforeToORM called before default ToORM code

type DetailsWithBeforeToPB

type DetailsWithBeforeToPB interface {
	BeforeToPB(context.Context, *Details) error
}

DetailsBeforeToPB called before default ToPB code

type Education

type Education struct {
	Id                   int32                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	School               string               `protobuf:"bytes,2,opt,name=school,proto3" json:"school,omitempty"`
	Degree               string               `protobuf:"bytes,3,opt,name=degree,proto3" json:"degree,omitempty"`
	FieldOfStudy         string               `protobuf:"bytes,4,opt,name=field_of_study,json=fieldOfStudy,proto3" json:"field_of_study,omitempty"`
	StartDate            *timestamp.Timestamp `protobuf:"bytes,5,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	EndDate              *timestamp.Timestamp `protobuf:"bytes,6,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	CurrentlyAttending   bool                 `protobuf:"varint,7,opt,name=currently_attending,json=currentlyAttending,proto3" json:"currently_attending,omitempty"`
	Gpa                  float32              `protobuf:"fixed32,8,opt,name=gpa,proto3" json:"gpa,omitempty"`
	Activities           string               `protobuf:"bytes,9,opt,name=activities,proto3" json:"activities,omitempty"`
	Societies            string               `protobuf:"bytes,10,opt,name=societies,proto3" json:"societies,omitempty"`
	Description          string               `protobuf:"bytes,11,opt,name=description,proto3" json:"description,omitempty"`
	CreatedAt            *timestamp.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt            *timestamp.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt            *timestamp.Timestamp `protobuf:"bytes,14,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	MediaId              *Media               `protobuf:"bytes,15,opt,name=media_id,json=mediaId,proto3" json:"media_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func DefaultApplyFieldMaskEducation

func DefaultApplyFieldMaskEducation(ctx context.Context, patchee *Education, patcher *Education, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Education, error)

DefaultApplyFieldMaskEducation patches an pbObject with patcher according to a field mask.

func DefaultCreateEducation

func DefaultCreateEducation(ctx context.Context, in *Education, db *gorm1.DB) (*Education, error)

DefaultCreateEducation executes a basic gorm create call

func DefaultListEducation

func DefaultListEducation(ctx context.Context, db *gorm1.DB) ([]*Education, error)

DefaultListEducation executes a gorm list call

func DefaultPatchEducation

func DefaultPatchEducation(ctx context.Context, in *Education, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Education, error)

DefaultPatchEducation executes a basic gorm update call with patch behavior

func DefaultPatchSetEducation

func DefaultPatchSetEducation(ctx context.Context, objects []*Education, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Education, error)

DefaultPatchSetEducation executes a bulk gorm update call with patch behavior

func DefaultReadEducation

func DefaultReadEducation(ctx context.Context, in *Education, db *gorm1.DB) (*Education, error)

DefaultReadEducation executes a basic gorm read call

func DefaultStrictUpdateEducation

func DefaultStrictUpdateEducation(ctx context.Context, in *Education, db *gorm1.DB) (*Education, error)

DefaultStrictUpdateEducation clears first level 1:many children and then executes a gorm update call

func (*Education) Descriptor

func (*Education) Descriptor() ([]byte, []int)

func (*Education) GetActivities

func (m *Education) GetActivities() string

func (*Education) GetCreatedAt

func (m *Education) GetCreatedAt() *timestamp.Timestamp

func (*Education) GetCurrentlyAttending

func (m *Education) GetCurrentlyAttending() bool

func (*Education) GetDegree

func (m *Education) GetDegree() string

func (*Education) GetDeletedAt

func (m *Education) GetDeletedAt() *timestamp.Timestamp

func (*Education) GetDescription

func (m *Education) GetDescription() string

func (*Education) GetEndDate

func (m *Education) GetEndDate() *timestamp.Timestamp

func (*Education) GetFieldOfStudy

func (m *Education) GetFieldOfStudy() string

func (*Education) GetGpa

func (m *Education) GetGpa() float32

func (*Education) GetId

func (m *Education) GetId() int32

func (*Education) GetMediaId

func (m *Education) GetMediaId() *Media

func (*Education) GetSchool

func (m *Education) GetSchool() string

func (*Education) GetSocieties

func (m *Education) GetSocieties() string

func (*Education) GetStartDate

func (m *Education) GetStartDate() *timestamp.Timestamp

func (*Education) GetUpdatedAt

func (m *Education) GetUpdatedAt() *timestamp.Timestamp

func (*Education) ProtoMessage

func (*Education) ProtoMessage()

func (*Education) Reset

func (m *Education) Reset()

func (*Education) String

func (m *Education) String() string

func (*Education) ToORM

func (m *Education) ToORM(ctx context.Context) (EducationORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

func (*Education) Validate

func (this *Education) Validate() error

func (*Education) XXX_DiscardUnknown

func (m *Education) XXX_DiscardUnknown()

func (*Education) XXX_Marshal

func (m *Education) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Education) XXX_Merge

func (m *Education) XXX_Merge(src proto.Message)

func (*Education) XXX_Size

func (m *Education) XXX_Size() int

func (*Education) XXX_Unmarshal

func (m *Education) XXX_Unmarshal(b []byte) error

type EducationORM

type EducationORM struct {
	Activities         string
	CreatedAt          *time.Time
	CurrentlyAttending bool
	Degree             string
	DeletedAt          *time.Time
	Description        string
	EndDate            *time.Time
	FieldOfStudy       string
	Gpa                float32
	Id                 int32     `gorm:"type:serial;primary_key"`
	MediaId            *MediaORM `gorm:"foreignkey:EducationId;association_foreignkey:Id;preload:true"`
	School             string
	Societies          string
	StartDate          *time.Time
	UpdatedAt          *time.Time
}

func (EducationORM) TableName

func (EducationORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*EducationORM) ToPB

func (m *EducationORM) ToPB(ctx context.Context) (Education, error)

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type EducationORMWithAfterCreate_

type EducationORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type EducationORMWithAfterDeleteSet

type EducationORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Education, *gorm1.DB) error
}

type EducationORMWithAfterDelete_

type EducationORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type EducationORMWithAfterListFind

type EducationORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]EducationORM) error
}

type EducationORMWithAfterReadFind

type EducationORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type EducationORMWithAfterStrictUpdateSave

type EducationORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type EducationORMWithBeforeCreate_

type EducationORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeDeleteSet

type EducationORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Education, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeDelete_

type EducationORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeListApplyQuery

type EducationORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeListFind

type EducationORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeReadApplyQuery

type EducationORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeReadFind

type EducationORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeStrictUpdateCleanup

type EducationORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationORMWithBeforeStrictUpdateSave

type EducationORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type EducationWithAfterPatchSave

type EducationWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Education, *field_mask1.FieldMask, *gorm1.DB) error
}

type EducationWithAfterToORM

type EducationWithAfterToORM interface {
	AfterToORM(context.Context, *EducationORM) error
}

EducationAfterToORM called after default ToORM code

type EducationWithAfterToPB

type EducationWithAfterToPB interface {
	AfterToPB(context.Context, *Education) error
}

EducationAfterToPB called after default ToPB code

type EducationWithBeforePatchApplyFieldMask

type EducationWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Education, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type EducationWithBeforePatchRead

type EducationWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Education, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type EducationWithBeforePatchSave

type EducationWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Education, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type EducationWithBeforeToORM

type EducationWithBeforeToORM interface {
	BeforeToORM(context.Context, *EducationORM) error
}

EducationBeforeToORM called before default ToORM code

type EducationWithBeforeToPB

type EducationWithBeforeToPB interface {
	BeforeToPB(context.Context, *Education) error
}

EducationBeforeToPB called before default ToPB code

type Experience

type Experience struct {
	Id                   int32                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CompanyName          string               `protobuf:"bytes,2,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"`
	Title                string               `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	EmploymentType       string               `protobuf:"bytes,4,opt,name=employment_type,json=employmentType,proto3" json:"employment_type,omitempty"`
	Location             string               `protobuf:"bytes,5,opt,name=location,proto3" json:"location,omitempty"`
	StartDate            *timestamp.Timestamp `protobuf:"bytes,6,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	EndDate              *timestamp.Timestamp `protobuf:"bytes,7,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	IsCurrentJob         bool                 `protobuf:"varint,8,opt,name=is_current_job,json=isCurrentJob,proto3" json:"is_current_job,omitempty"`
	Headline             string               `protobuf:"bytes,9,opt,name=headline,proto3" json:"headline,omitempty"`
	Description          string               `protobuf:"bytes,10,opt,name=description,proto3" json:"description,omitempty"`
	MediaId              *Media               `protobuf:"bytes,11,opt,name=media_id,json=mediaId,proto3" json:"media_id,omitempty"`
	CreatedAt            *timestamp.Timestamp `protobuf:"bytes,12,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt            *timestamp.Timestamp `protobuf:"bytes,13,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	DeletedAt            *timestamp.Timestamp `protobuf:"bytes,14,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func DefaultApplyFieldMaskExperience

func DefaultApplyFieldMaskExperience(ctx context.Context, patchee *Experience, patcher *Experience, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Experience, error)

DefaultApplyFieldMaskExperience patches an pbObject with patcher according to a field mask.

func DefaultCreateExperience

func DefaultCreateExperience(ctx context.Context, in *Experience, db *gorm1.DB) (*Experience, error)

DefaultCreateExperience executes a basic gorm create call

func DefaultListExperience

func DefaultListExperience(ctx context.Context, db *gorm1.DB) ([]*Experience, error)

DefaultListExperience executes a gorm list call

func DefaultPatchExperience

func DefaultPatchExperience(ctx context.Context, in *Experience, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Experience, error)

DefaultPatchExperience executes a basic gorm update call with patch behavior

func DefaultPatchSetExperience

func DefaultPatchSetExperience(ctx context.Context, objects []*Experience, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Experience, error)

DefaultPatchSetExperience executes a bulk gorm update call with patch behavior

func DefaultReadExperience

func DefaultReadExperience(ctx context.Context, in *Experience, db *gorm1.DB) (*Experience, error)

DefaultReadExperience executes a basic gorm read call

func DefaultStrictUpdateExperience

func DefaultStrictUpdateExperience(ctx context.Context, in *Experience, db *gorm1.DB) (*Experience, error)

DefaultStrictUpdateExperience clears first level 1:many children and then executes a gorm update call

func (*Experience) Descriptor

func (*Experience) Descriptor() ([]byte, []int)

func (*Experience) GetCompanyName

func (m *Experience) GetCompanyName() string

func (*Experience) GetCreatedAt

func (m *Experience) GetCreatedAt() *timestamp.Timestamp

func (*Experience) GetDeletedAt

func (m *Experience) GetDeletedAt() *timestamp.Timestamp

func (*Experience) GetDescription

func (m *Experience) GetDescription() string

func (*Experience) GetEmploymentType

func (m *Experience) GetEmploymentType() string

func (*Experience) GetEndDate

func (m *Experience) GetEndDate() *timestamp.Timestamp

func (*Experience) GetHeadline

func (m *Experience) GetHeadline() string

func (*Experience) GetId

func (m *Experience) GetId() int32

func (*Experience) GetIsCurrentJob

func (m *Experience) GetIsCurrentJob() bool

func (*Experience) GetLocation

func (m *Experience) GetLocation() string

func (*Experience) GetMediaId

func (m *Experience) GetMediaId() *Media

func (*Experience) GetStartDate

func (m *Experience) GetStartDate() *timestamp.Timestamp

func (*Experience) GetTitle

func (m *Experience) GetTitle() string

func (*Experience) GetUpdatedAt

func (m *Experience) GetUpdatedAt() *timestamp.Timestamp

func (*Experience) ProtoMessage

func (*Experience) ProtoMessage()

func (*Experience) Reset

func (m *Experience) Reset()

func (*Experience) String

func (m *Experience) String() string

func (*Experience) ToORM

func (m *Experience) ToORM(ctx context.Context) (ExperienceORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

func (*Experience) Validate

func (this *Experience) Validate() error

func (*Experience) XXX_DiscardUnknown

func (m *Experience) XXX_DiscardUnknown()

func (*Experience) XXX_Marshal

func (m *Experience) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Experience) XXX_Merge

func (m *Experience) XXX_Merge(src proto.Message)

func (*Experience) XXX_Size

func (m *Experience) XXX_Size() int

func (*Experience) XXX_Unmarshal

func (m *Experience) XXX_Unmarshal(b []byte) error

type ExperienceORM

type ExperienceORM struct {
	CompanyName    string
	CreatedAt      *time.Time
	DeletedAt      *time.Time
	Description    string
	EmploymentType string
	EndDate        *time.Time
	Headline       string
	Id             int32 `gorm:"type:serial;primary_key"`
	IsCurrentJob   bool
	Location       string
	MediaId        *MediaORM `gorm:"foreignkey:ExperienceId;association_foreignkey:Id"`
	StartDate      *time.Time
	Title          string
	UpdatedAt      *time.Time
}

func (ExperienceORM) TableName

func (ExperienceORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*ExperienceORM) ToPB

func (m *ExperienceORM) ToPB(ctx context.Context) (Experience, error)

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type ExperienceORMWithAfterCreate_

type ExperienceORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type ExperienceORMWithAfterDeleteSet

type ExperienceORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Experience, *gorm1.DB) error
}

type ExperienceORMWithAfterDelete_

type ExperienceORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type ExperienceORMWithAfterListFind

type ExperienceORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]ExperienceORM) error
}

type ExperienceORMWithAfterReadFind

type ExperienceORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type ExperienceORMWithAfterStrictUpdateSave

type ExperienceORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type ExperienceORMWithBeforeCreate_

type ExperienceORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeDeleteSet

type ExperienceORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Experience, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeDelete_

type ExperienceORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeListApplyQuery

type ExperienceORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeListFind

type ExperienceORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeReadApplyQuery

type ExperienceORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeReadFind

type ExperienceORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeStrictUpdateCleanup

type ExperienceORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceORMWithBeforeStrictUpdateSave

type ExperienceORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceWithAfterPatchSave

type ExperienceWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Experience, *field_mask1.FieldMask, *gorm1.DB) error
}

type ExperienceWithAfterToORM

type ExperienceWithAfterToORM interface {
	AfterToORM(context.Context, *ExperienceORM) error
}

ExperienceAfterToORM called after default ToORM code

type ExperienceWithAfterToPB

type ExperienceWithAfterToPB interface {
	AfterToPB(context.Context, *Experience) error
}

ExperienceAfterToPB called after default ToPB code

type ExperienceWithBeforePatchApplyFieldMask

type ExperienceWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Experience, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceWithBeforePatchRead

type ExperienceWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Experience, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceWithBeforePatchSave

type ExperienceWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Experience, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type ExperienceWithBeforeToORM

type ExperienceWithBeforeToORM interface {
	BeforeToORM(context.Context, *ExperienceORM) error
}

ExperienceBeforeToORM called before default ToORM code

type ExperienceWithBeforeToPB

type ExperienceWithBeforeToPB interface {
	BeforeToPB(context.Context, *Experience) error
}

ExperienceBeforeToPB called before default ToPB code

type Investment

type Investment struct {
	Id                   int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	CompanyName          string   `protobuf:"bytes,2,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"`
	Industry             string   `protobuf:"bytes,3,opt,name=industry,proto3" json:"industry,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func DefaultApplyFieldMaskInvestment

func DefaultApplyFieldMaskInvestment(ctx context.Context, patchee *Investment, patcher *Investment, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Investment, error)

DefaultApplyFieldMaskInvestment patches an pbObject with patcher according to a field mask.

func DefaultCreateInvestment

func DefaultCreateInvestment(ctx context.Context, in *Investment, db *gorm1.DB) (*Investment, error)

DefaultCreateInvestment executes a basic gorm create call

func DefaultListInvestment

func DefaultListInvestment(ctx context.Context, db *gorm1.DB) ([]*Investment, error)

DefaultListInvestment executes a gorm list call

func DefaultPatchInvestment

func DefaultPatchInvestment(ctx context.Context, in *Investment, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Investment, error)

DefaultPatchInvestment executes a basic gorm update call with patch behavior

func DefaultPatchSetInvestment

func DefaultPatchSetInvestment(ctx context.Context, objects []*Investment, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Investment, error)

DefaultPatchSetInvestment executes a bulk gorm update call with patch behavior

func DefaultReadInvestment

func DefaultReadInvestment(ctx context.Context, in *Investment, db *gorm1.DB) (*Investment, error)

DefaultReadInvestment executes a basic gorm read call

func DefaultStrictUpdateInvestment

func DefaultStrictUpdateInvestment(ctx context.Context, in *Investment, db *gorm1.DB) (*Investment, error)

DefaultStrictUpdateInvestment clears first level 1:many children and then executes a gorm update call

func (*Investment) Descriptor

func (*Investment) Descriptor() ([]byte, []int)

func (*Investment) GetCompanyName

func (m *Investment) GetCompanyName() string

func (*Investment) GetId

func (m *Investment) GetId() int32

func (*Investment) GetIndustry

func (m *Investment) GetIndustry() string

func (*Investment) ProtoMessage

func (*Investment) ProtoMessage()

func (*Investment) Reset

func (m *Investment) Reset()

func (*Investment) String

func (m *Investment) String() string

func (*Investment) ToORM

func (m *Investment) ToORM(ctx context.Context) (InvestmentORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

func (*Investment) Validate

func (this *Investment) Validate() error

func (*Investment) XXX_DiscardUnknown

func (m *Investment) XXX_DiscardUnknown()

func (*Investment) XXX_Marshal

func (m *Investment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Investment) XXX_Merge

func (m *Investment) XXX_Merge(src proto.Message)

func (*Investment) XXX_Size

func (m *Investment) XXX_Size() int

func (*Investment) XXX_Unmarshal

func (m *Investment) XXX_Unmarshal(b []byte) error

type InvestmentORM

type InvestmentORM struct {
	CompanyName string
	Id          int32 `gorm:"type:serial;primary_key"`
	Industry    string
}

func (InvestmentORM) TableName

func (InvestmentORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*InvestmentORM) ToPB

func (m *InvestmentORM) ToPB(ctx context.Context) (Investment, error)

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type InvestmentORMWithAfterCreate_

type InvestmentORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type InvestmentORMWithAfterDeleteSet

type InvestmentORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Investment, *gorm1.DB) error
}

type InvestmentORMWithAfterDelete_

type InvestmentORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type InvestmentORMWithAfterListFind

type InvestmentORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]InvestmentORM) error
}

type InvestmentORMWithAfterReadFind

type InvestmentORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type InvestmentORMWithAfterStrictUpdateSave

type InvestmentORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type InvestmentORMWithBeforeCreate_

type InvestmentORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeDeleteSet

type InvestmentORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Investment, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeDelete_

type InvestmentORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeListApplyQuery

type InvestmentORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeListFind

type InvestmentORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeReadApplyQuery

type InvestmentORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeReadFind

type InvestmentORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeStrictUpdateCleanup

type InvestmentORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentORMWithBeforeStrictUpdateSave

type InvestmentORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentWithAfterPatchSave

type InvestmentWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Investment, *field_mask1.FieldMask, *gorm1.DB) error
}

type InvestmentWithAfterToORM

type InvestmentWithAfterToORM interface {
	AfterToORM(context.Context, *InvestmentORM) error
}

InvestmentAfterToORM called after default ToORM code

type InvestmentWithAfterToPB

type InvestmentWithAfterToPB interface {
	AfterToPB(context.Context, *Investment) error
}

InvestmentAfterToPB called after default ToPB code

type InvestmentWithBeforePatchApplyFieldMask

type InvestmentWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Investment, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentWithBeforePatchRead

type InvestmentWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Investment, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentWithBeforePatchSave

type InvestmentWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Investment, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type InvestmentWithBeforeToORM

type InvestmentWithBeforeToORM interface {
	BeforeToORM(context.Context, *InvestmentORM) error
}

InvestmentBeforeToORM called before default ToORM code

type InvestmentWithBeforeToPB

type InvestmentWithBeforeToPB interface {
	BeforeToPB(context.Context, *Investment) error
}

InvestmentBeforeToPB called before default ToPB code

type Media

type Media struct {
	Id                   int32                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	DocumentLinks        []string             `protobuf:"bytes,2,rep,name=document_links,json=documentLinks,proto3" json:"document_links,omitempty"`
	PhotoLinks           []string             `protobuf:"bytes,3,rep,name=photo_links,json=photoLinks,proto3" json:"photo_links,omitempty"`
	VideoLinks           []string             `protobuf:"bytes,4,rep,name=video_links,json=videoLinks,proto3" json:"video_links,omitempty"`
	PresentationLinks    []string             `protobuf:"bytes,5,rep,name=presentation_links,json=presentationLinks,proto3" json:"presentation_links,omitempty"`
	CreatedAt            *timestamp.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	DeletedAt            *timestamp.Timestamp `protobuf:"bytes,7,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	UpdatedAt            *timestamp.Timestamp `protobuf:"bytes,8,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func DefaultApplyFieldMaskMedia

func DefaultApplyFieldMaskMedia(ctx context.Context, patchee *Media, patcher *Media, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Media, error)

DefaultApplyFieldMaskMedia patches an pbObject with patcher according to a field mask.

func DefaultCreateMedia

func DefaultCreateMedia(ctx context.Context, in *Media, db *gorm1.DB) (*Media, error)

DefaultCreateMedia executes a basic gorm create call

func DefaultListMedia

func DefaultListMedia(ctx context.Context, db *gorm1.DB) ([]*Media, error)

DefaultListMedia executes a gorm list call

func DefaultPatchMedia

func DefaultPatchMedia(ctx context.Context, in *Media, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Media, error)

DefaultPatchMedia executes a basic gorm update call with patch behavior

func DefaultPatchSetMedia

func DefaultPatchSetMedia(ctx context.Context, objects []*Media, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Media, error)

DefaultPatchSetMedia executes a bulk gorm update call with patch behavior

func DefaultReadMedia

func DefaultReadMedia(ctx context.Context, in *Media, db *gorm1.DB) (*Media, error)

DefaultReadMedia executes a basic gorm read call

func DefaultStrictUpdateMedia

func DefaultStrictUpdateMedia(ctx context.Context, in *Media, db *gorm1.DB) (*Media, error)

DefaultStrictUpdateMedia clears first level 1:many children and then executes a gorm update call

func (*Media) Descriptor

func (*Media) Descriptor() ([]byte, []int)

func (*Media) GetCreatedAt

func (m *Media) GetCreatedAt() *timestamp.Timestamp

func (*Media) GetDeletedAt

func (m *Media) GetDeletedAt() *timestamp.Timestamp
func (m *Media) GetDocumentLinks() []string

func (*Media) GetId

func (m *Media) GetId() int32
func (m *Media) GetPhotoLinks() []string
func (m *Media) GetPresentationLinks() []string

func (*Media) GetUpdatedAt

func (m *Media) GetUpdatedAt() *timestamp.Timestamp
func (m *Media) GetVideoLinks() []string

func (*Media) ProtoMessage

func (*Media) ProtoMessage()

func (*Media) Reset

func (m *Media) Reset()

func (*Media) String

func (m *Media) String() string

func (*Media) ToORM

func (m *Media) ToORM(ctx context.Context) (MediaORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

func (*Media) Validate

func (this *Media) Validate() error

func (*Media) XXX_DiscardUnknown

func (m *Media) XXX_DiscardUnknown()

func (*Media) XXX_Marshal

func (m *Media) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Media) XXX_Merge

func (m *Media) XXX_Merge(src proto.Message)

func (*Media) XXX_Size

func (m *Media) XXX_Size() int

func (*Media) XXX_Unmarshal

func (m *Media) XXX_Unmarshal(b []byte) error

type MediaORM

type MediaORM struct {
	CreatedAt         *time.Time
	DeletedAt         *time.Time
	DocumentLinks     pq1.StringArray `gorm:"type:text[]"`
	EducationId       *int32
	ExperienceId      *int32
	Id                int32           `gorm:"type:serial;primary_key"`
	PhotoLinks        pq1.StringArray `gorm:"type:text[]"`
	PresentationLinks pq1.StringArray `gorm:"type:text[]"`
	UpdatedAt         *time.Time
	VideoLinks        pq1.StringArray `gorm:"type:text[]"`
}

func (MediaORM) TableName

func (MediaORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*MediaORM) ToPB

func (m *MediaORM) ToPB(ctx context.Context) (Media, error)

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type MediaORMWithAfterCreate_

type MediaORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type MediaORMWithAfterDeleteSet

type MediaORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Media, *gorm1.DB) error
}

type MediaORMWithAfterDelete_

type MediaORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type MediaORMWithAfterListFind

type MediaORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]MediaORM) error
}

type MediaORMWithAfterReadFind

type MediaORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type MediaORMWithAfterStrictUpdateSave

type MediaORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type MediaORMWithBeforeCreate_

type MediaORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeDeleteSet

type MediaORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Media, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeDelete_

type MediaORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeListApplyQuery

type MediaORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeListFind

type MediaORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeReadApplyQuery

type MediaORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeReadFind

type MediaORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeStrictUpdateCleanup

type MediaORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaORMWithBeforeStrictUpdateSave

type MediaORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type MediaWithAfterPatchSave

type MediaWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Media, *field_mask1.FieldMask, *gorm1.DB) error
}

type MediaWithAfterToORM

type MediaWithAfterToORM interface {
	AfterToORM(context.Context, *MediaORM) error
}

MediaAfterToORM called after default ToORM code

type MediaWithAfterToPB

type MediaWithAfterToPB interface {
	AfterToPB(context.Context, *Media) error
}

MediaAfterToPB called after default ToPB code

type MediaWithBeforePatchApplyFieldMask

type MediaWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Media, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type MediaWithBeforePatchRead

type MediaWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Media, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type MediaWithBeforePatchSave

type MediaWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Media, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type MediaWithBeforeToORM

type MediaWithBeforeToORM interface {
	BeforeToORM(context.Context, *MediaORM) error
}

MediaBeforeToORM called before default ToORM code

type MediaWithBeforeToPB

type MediaWithBeforeToPB interface {
	BeforeToPB(context.Context, *Media) error
}

MediaBeforeToPB called before default ToPB code

type SocialMedia

type SocialMedia struct {
	Id                   int32                `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	GithubUrl            uint32               `protobuf:"varint,2,opt,name=github_url,json=githubUrl,proto3" json:"github_url,omitempty"`
	WebsiteUrl           string               `protobuf:"bytes,3,opt,name=website_url,json=websiteUrl,proto3" json:"website_url,omitempty"`
	FacebookUrl          string               `protobuf:"bytes,4,opt,name=facebook_url,json=facebookUrl,proto3" json:"facebook_url,omitempty"`
	TwitterUrl           string               `protobuf:"bytes,5,opt,name=twitter_url,json=twitterUrl,proto3" json:"twitter_url,omitempty"`
	LinkedUrl            string               `protobuf:"bytes,6,opt,name=linked_url,json=linkedUrl,proto3" json:"linked_url,omitempty"`
	YoutubeUrl           string               `protobuf:"bytes,7,opt,name=youtube_url,json=youtubeUrl,proto3" json:"youtube_url,omitempty"`
	CreatedAt            *timestamp.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	DeletedAt            *timestamp.Timestamp `protobuf:"bytes,9,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	UpdatedAt            *timestamp.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func DefaultApplyFieldMaskSocialMedia

func DefaultApplyFieldMaskSocialMedia(ctx context.Context, patchee *SocialMedia, patcher *SocialMedia, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*SocialMedia, error)

DefaultApplyFieldMaskSocialMedia patches an pbObject with patcher according to a field mask.

func DefaultCreateSocialMedia

func DefaultCreateSocialMedia(ctx context.Context, in *SocialMedia, db *gorm1.DB) (*SocialMedia, error)

DefaultCreateSocialMedia executes a basic gorm create call

func DefaultListSocialMedia

func DefaultListSocialMedia(ctx context.Context, db *gorm1.DB) ([]*SocialMedia, error)

DefaultListSocialMedia executes a gorm list call

func DefaultPatchSetSocialMedia

func DefaultPatchSetSocialMedia(ctx context.Context, objects []*SocialMedia, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*SocialMedia, error)

DefaultPatchSetSocialMedia executes a bulk gorm update call with patch behavior

func DefaultPatchSocialMedia

func DefaultPatchSocialMedia(ctx context.Context, in *SocialMedia, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*SocialMedia, error)

DefaultPatchSocialMedia executes a basic gorm update call with patch behavior

func DefaultReadSocialMedia

func DefaultReadSocialMedia(ctx context.Context, in *SocialMedia, db *gorm1.DB) (*SocialMedia, error)

DefaultReadSocialMedia executes a basic gorm read call

func DefaultStrictUpdateSocialMedia

func DefaultStrictUpdateSocialMedia(ctx context.Context, in *SocialMedia, db *gorm1.DB) (*SocialMedia, error)

DefaultStrictUpdateSocialMedia clears first level 1:many children and then executes a gorm update call

func (*SocialMedia) Descriptor

func (*SocialMedia) Descriptor() ([]byte, []int)

func (*SocialMedia) GetCreatedAt

func (m *SocialMedia) GetCreatedAt() *timestamp.Timestamp

func (*SocialMedia) GetDeletedAt

func (m *SocialMedia) GetDeletedAt() *timestamp.Timestamp

func (*SocialMedia) GetFacebookUrl

func (m *SocialMedia) GetFacebookUrl() string

func (*SocialMedia) GetGithubUrl

func (m *SocialMedia) GetGithubUrl() uint32

func (*SocialMedia) GetId

func (m *SocialMedia) GetId() int32

func (*SocialMedia) GetLinkedUrl

func (m *SocialMedia) GetLinkedUrl() string

func (*SocialMedia) GetTwitterUrl

func (m *SocialMedia) GetTwitterUrl() string

func (*SocialMedia) GetUpdatedAt

func (m *SocialMedia) GetUpdatedAt() *timestamp.Timestamp

func (*SocialMedia) GetWebsiteUrl

func (m *SocialMedia) GetWebsiteUrl() string

func (*SocialMedia) GetYoutubeUrl

func (m *SocialMedia) GetYoutubeUrl() string

func (*SocialMedia) ProtoMessage

func (*SocialMedia) ProtoMessage()

func (*SocialMedia) Reset

func (m *SocialMedia) Reset()

func (*SocialMedia) String

func (m *SocialMedia) String() string

func (*SocialMedia) ToORM

func (m *SocialMedia) ToORM(ctx context.Context) (SocialMediaORM, error)

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

func (*SocialMedia) Validate

func (this *SocialMedia) Validate() error

func (*SocialMedia) XXX_DiscardUnknown

func (m *SocialMedia) XXX_DiscardUnknown()

func (*SocialMedia) XXX_Marshal

func (m *SocialMedia) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SocialMedia) XXX_Merge

func (m *SocialMedia) XXX_Merge(src proto.Message)

func (*SocialMedia) XXX_Size

func (m *SocialMedia) XXX_Size() int

func (*SocialMedia) XXX_Unmarshal

func (m *SocialMedia) XXX_Unmarshal(b []byte) error

type SocialMediaORM

type SocialMediaORM struct {
	CreatedAt   *time.Time
	DeletedAt   *time.Time
	FacebookUrl string
	GithubUrl   uint32
	Id          int32 `gorm:"type:serial;primary_key"`
	LinkedUrl   string
	TwitterUrl  string
	UpdatedAt   *time.Time
	WebsiteUrl  string
	YoutubeUrl  string
}

func (SocialMediaORM) TableName

func (SocialMediaORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*SocialMediaORM) ToPB

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type SocialMediaORMWithAfterCreate_

type SocialMediaORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type SocialMediaORMWithAfterDeleteSet

type SocialMediaORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*SocialMedia, *gorm1.DB) error
}

type SocialMediaORMWithAfterDelete_

type SocialMediaORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type SocialMediaORMWithAfterListFind

type SocialMediaORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]SocialMediaORM) error
}

type SocialMediaORMWithAfterReadFind

type SocialMediaORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type SocialMediaORMWithAfterStrictUpdateSave

type SocialMediaORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type SocialMediaORMWithBeforeCreate_

type SocialMediaORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeDeleteSet

type SocialMediaORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*SocialMedia, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeDelete_

type SocialMediaORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeListApplyQuery

type SocialMediaORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeListFind

type SocialMediaORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeReadApplyQuery

type SocialMediaORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeReadFind

type SocialMediaORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeStrictUpdateCleanup

type SocialMediaORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaORMWithBeforeStrictUpdateSave

type SocialMediaORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaWithAfterPatchSave

type SocialMediaWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *SocialMedia, *field_mask1.FieldMask, *gorm1.DB) error
}

type SocialMediaWithAfterToORM

type SocialMediaWithAfterToORM interface {
	AfterToORM(context.Context, *SocialMediaORM) error
}

SocialMediaAfterToORM called after default ToORM code

type SocialMediaWithAfterToPB

type SocialMediaWithAfterToPB interface {
	AfterToPB(context.Context, *SocialMedia) error
}

SocialMediaAfterToPB called after default ToPB code

type SocialMediaWithBeforePatchApplyFieldMask

type SocialMediaWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *SocialMedia, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaWithBeforePatchRead

type SocialMediaWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *SocialMedia, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaWithBeforePatchSave

type SocialMediaWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *SocialMedia, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type SocialMediaWithBeforeToORM

type SocialMediaWithBeforeToORM interface {
	BeforeToORM(context.Context, *SocialMediaORM) error
}

SocialMediaBeforeToORM called before default ToORM code

type SocialMediaWithBeforeToPB

type SocialMediaWithBeforeToPB interface {
	BeforeToPB(context.Context, *SocialMedia) error
}

SocialMediaBeforeToPB called before default ToPB code

type Subscriptions

type Subscriptions struct {
	Id                   uint32               `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	SubscriptionName     string               `protobuf:"bytes,2,opt,name=subscription_name,json=subscriptionName,proto3" json:"subscription_name,omitempty"`
	SubscriptionStatus   string               `protobuf:"bytes,3,opt,name=subscription_status,json=subscriptionStatus,proto3" json:"subscription_status,omitempty"`
	StartDate            *timestamp.Timestamp `protobuf:"bytes,4,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"`
	EndDate              *timestamp.Timestamp `protobuf:"bytes,5,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"`
	AccessType           string               `protobuf:"bytes,6,opt,name=access_type,json=accessType,proto3" json:"access_type,omitempty"`
	IsActive             bool                 `protobuf:"varint,7,opt,name=is_active,json=isActive,proto3" json:"is_active,omitempty"`
	CreatedAt            *timestamp.Timestamp `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	DeletedAt            *timestamp.Timestamp `protobuf:"bytes,9,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"`
	UpdatedAt            *timestamp.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func DefaultApplyFieldMaskSubscriptions

func DefaultApplyFieldMaskSubscriptions(ctx context.Context, patchee *Subscriptions, patcher *Subscriptions, updateMask *field_mask1.FieldMask, prefix string, db *gorm1.DB) (*Subscriptions, error)

DefaultApplyFieldMaskSubscriptions patches an pbObject with patcher according to a field mask.

func DefaultCreateSubscriptions

func DefaultCreateSubscriptions(ctx context.Context, in *Subscriptions, db *gorm1.DB) (*Subscriptions, error)

DefaultCreateSubscriptions executes a basic gorm create call

func DefaultListSubscriptions

func DefaultListSubscriptions(ctx context.Context, db *gorm1.DB) ([]*Subscriptions, error)

DefaultListSubscriptions executes a gorm list call

func DefaultPatchSetSubscriptions

func DefaultPatchSetSubscriptions(ctx context.Context, objects []*Subscriptions, updateMasks []*field_mask1.FieldMask, db *gorm1.DB) ([]*Subscriptions, error)

DefaultPatchSetSubscriptions executes a bulk gorm update call with patch behavior

func DefaultPatchSubscriptions

func DefaultPatchSubscriptions(ctx context.Context, in *Subscriptions, updateMask *field_mask1.FieldMask, db *gorm1.DB) (*Subscriptions, error)

DefaultPatchSubscriptions executes a basic gorm update call with patch behavior

func DefaultReadSubscriptions

func DefaultReadSubscriptions(ctx context.Context, in *Subscriptions, db *gorm1.DB) (*Subscriptions, error)

DefaultReadSubscriptions executes a basic gorm read call

func DefaultStrictUpdateSubscriptions

func DefaultStrictUpdateSubscriptions(ctx context.Context, in *Subscriptions, db *gorm1.DB) (*Subscriptions, error)

DefaultStrictUpdateSubscriptions clears first level 1:many children and then executes a gorm update call

func (*Subscriptions) Descriptor

func (*Subscriptions) Descriptor() ([]byte, []int)

func (*Subscriptions) GetAccessType

func (m *Subscriptions) GetAccessType() string

func (*Subscriptions) GetCreatedAt

func (m *Subscriptions) GetCreatedAt() *timestamp.Timestamp

func (*Subscriptions) GetDeletedAt

func (m *Subscriptions) GetDeletedAt() *timestamp.Timestamp

func (*Subscriptions) GetEndDate

func (m *Subscriptions) GetEndDate() *timestamp.Timestamp

func (*Subscriptions) GetId

func (m *Subscriptions) GetId() uint32

func (*Subscriptions) GetIsActive

func (m *Subscriptions) GetIsActive() bool

func (*Subscriptions) GetStartDate

func (m *Subscriptions) GetStartDate() *timestamp.Timestamp

func (*Subscriptions) GetSubscriptionName

func (m *Subscriptions) GetSubscriptionName() string

func (*Subscriptions) GetSubscriptionStatus

func (m *Subscriptions) GetSubscriptionStatus() string

func (*Subscriptions) GetUpdatedAt

func (m *Subscriptions) GetUpdatedAt() *timestamp.Timestamp

func (*Subscriptions) ProtoMessage

func (*Subscriptions) ProtoMessage()

func (*Subscriptions) Reset

func (m *Subscriptions) Reset()

func (*Subscriptions) String

func (m *Subscriptions) String() string

func (*Subscriptions) ToORM

ToORM runs the BeforeToORM hook if present, converts the fields of this object to ORM format, runs the AfterToORM hook, then returns the ORM object

func (*Subscriptions) Validate

func (this *Subscriptions) Validate() error

func (*Subscriptions) XXX_DiscardUnknown

func (m *Subscriptions) XXX_DiscardUnknown()

func (*Subscriptions) XXX_Marshal

func (m *Subscriptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Subscriptions) XXX_Merge

func (m *Subscriptions) XXX_Merge(src proto.Message)

func (*Subscriptions) XXX_Size

func (m *Subscriptions) XXX_Size() int

func (*Subscriptions) XXX_Unmarshal

func (m *Subscriptions) XXX_Unmarshal(b []byte) error

type SubscriptionsORM

type SubscriptionsORM struct {
	AccessType         string
	CreatedAt          *time.Time
	DeletedAt          *time.Time
	EndDate            *time.Time
	Id                 uint32 `gorm:"type:serial;primary_key"`
	IsActive           bool
	StartDate          *time.Time
	SubscriptionName   string
	SubscriptionStatus string
	UpdatedAt          *time.Time
}

func (SubscriptionsORM) TableName

func (SubscriptionsORM) TableName() string

TableName overrides the default tablename generated by GORM

func (*SubscriptionsORM) ToPB

ToPB runs the BeforeToPB hook if present, converts the fields of this object to PB format, runs the AfterToPB hook, then returns the PB object

type SubscriptionsORMWithAfterCreate_

type SubscriptionsORMWithAfterCreate_ interface {
	AfterCreate_(context.Context, *gorm1.DB) error
}

type SubscriptionsORMWithAfterDeleteSet

type SubscriptionsORMWithAfterDeleteSet interface {
	AfterDeleteSet(context.Context, []*Subscriptions, *gorm1.DB) error
}

type SubscriptionsORMWithAfterDelete_

type SubscriptionsORMWithAfterDelete_ interface {
	AfterDelete_(context.Context, *gorm1.DB) error
}

type SubscriptionsORMWithAfterListFind

type SubscriptionsORMWithAfterListFind interface {
	AfterListFind(context.Context, *gorm1.DB, *[]SubscriptionsORM) error
}

type SubscriptionsORMWithAfterReadFind

type SubscriptionsORMWithAfterReadFind interface {
	AfterReadFind(context.Context, *gorm1.DB) error
}

type SubscriptionsORMWithAfterStrictUpdateSave

type SubscriptionsORMWithAfterStrictUpdateSave interface {
	AfterStrictUpdateSave(context.Context, *gorm1.DB) error
}

type SubscriptionsORMWithBeforeCreate_

type SubscriptionsORMWithBeforeCreate_ interface {
	BeforeCreate_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeDeleteSet

type SubscriptionsORMWithBeforeDeleteSet interface {
	BeforeDeleteSet(context.Context, []*Subscriptions, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeDelete_

type SubscriptionsORMWithBeforeDelete_ interface {
	BeforeDelete_(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeListApplyQuery

type SubscriptionsORMWithBeforeListApplyQuery interface {
	BeforeListApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeListFind

type SubscriptionsORMWithBeforeListFind interface {
	BeforeListFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeReadApplyQuery

type SubscriptionsORMWithBeforeReadApplyQuery interface {
	BeforeReadApplyQuery(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeReadFind

type SubscriptionsORMWithBeforeReadFind interface {
	BeforeReadFind(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeStrictUpdateCleanup

type SubscriptionsORMWithBeforeStrictUpdateCleanup interface {
	BeforeStrictUpdateCleanup(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsORMWithBeforeStrictUpdateSave

type SubscriptionsORMWithBeforeStrictUpdateSave interface {
	BeforeStrictUpdateSave(context.Context, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsWithAfterPatchSave

type SubscriptionsWithAfterPatchSave interface {
	AfterPatchSave(context.Context, *Subscriptions, *field_mask1.FieldMask, *gorm1.DB) error
}

type SubscriptionsWithAfterToORM

type SubscriptionsWithAfterToORM interface {
	AfterToORM(context.Context, *SubscriptionsORM) error
}

SubscriptionsAfterToORM called after default ToORM code

type SubscriptionsWithAfterToPB

type SubscriptionsWithAfterToPB interface {
	AfterToPB(context.Context, *Subscriptions) error
}

SubscriptionsAfterToPB called after default ToPB code

type SubscriptionsWithBeforePatchApplyFieldMask

type SubscriptionsWithBeforePatchApplyFieldMask interface {
	BeforePatchApplyFieldMask(context.Context, *Subscriptions, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsWithBeforePatchRead

type SubscriptionsWithBeforePatchRead interface {
	BeforePatchRead(context.Context, *Subscriptions, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsWithBeforePatchSave

type SubscriptionsWithBeforePatchSave interface {
	BeforePatchSave(context.Context, *Subscriptions, *field_mask1.FieldMask, *gorm1.DB) (*gorm1.DB, error)
}

type SubscriptionsWithBeforeToORM

type SubscriptionsWithBeforeToORM interface {
	BeforeToORM(context.Context, *SubscriptionsORM) error
}

SubscriptionsBeforeToORM called before default ToORM code

type SubscriptionsWithBeforeToPB

type SubscriptionsWithBeforeToPB interface {
	BeforeToPB(context.Context, *Subscriptions) error
}

SubscriptionsBeforeToPB called before default ToPB code

type TeamAccountType

type TeamAccountType int32
const (
	TeamAccountType_StartupTeam  TeamAccountType = 0
	TeamAccountType_InvestorTeam TeamAccountType = 1
)

func (TeamAccountType) EnumDescriptor

func (TeamAccountType) EnumDescriptor() ([]byte, []int)

func (TeamAccountType) String

func (x TeamAccountType) String() string

Jump to

Keyboard shortcuts

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