dataobject

package
v1.1.13 Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Code generated by db2go. DO NOT EDIT.

Code generated by db2go. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthClassesDo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowClassesDo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupClassesDo = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthUsersDo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUsersDo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupUsersDo = fmt.Errorf("proto: unexpected end of group")
)
View Source
var TableNameClasses = "classes" //
View Source
var TableNameUsers = "users" //

Functions

This section is empty.

Types

type ClassesDO

type ClassesDO struct {
	Id                   int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ClassNo              string   `protobuf:"bytes,2,opt,name=class_no,json=classNo,proto3" json:"class_no,omitempty"`
	UserId               int32    `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	CreatedAt            string   `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt            string   `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClassesDO) Descriptor added in v1.1.13

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

func (*ClassesDO) GetClassNo

func (m *ClassesDO) GetClassNo() string

func (*ClassesDO) GetCreatedAt

func (m *ClassesDO) GetCreatedAt() string

func (*ClassesDO) GetId

func (m *ClassesDO) GetId() int32

func (*ClassesDO) GetUpdatedAt

func (m *ClassesDO) GetUpdatedAt() string

func (*ClassesDO) GetUserId

func (m *ClassesDO) GetUserId() int32

func (*ClassesDO) GoString added in v1.1.13

func (this *ClassesDO) GoString() string

func (*ClassesDO) Marshal added in v1.1.13

func (m *ClassesDO) Marshal() (dAtA []byte, err error)

func (*ClassesDO) MarshalTo added in v1.1.13

func (m *ClassesDO) MarshalTo(dAtA []byte) (int, error)

func (*ClassesDO) MarshalToSizedBuffer added in v1.1.13

func (m *ClassesDO) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ClassesDO) ProtoMessage added in v1.1.13

func (*ClassesDO) ProtoMessage()

func (*ClassesDO) Reset added in v1.1.13

func (m *ClassesDO) Reset()

func (*ClassesDO) SetClassNo

func (do *ClassesDO) SetClassNo(v string)

func (*ClassesDO) SetId

func (do *ClassesDO) SetId(v int32)

func (*ClassesDO) SetUserId

func (do *ClassesDO) SetUserId(v int32)

func (*ClassesDO) Size added in v1.1.13

func (m *ClassesDO) Size() (n int)

func (*ClassesDO) String added in v1.1.13

func (m *ClassesDO) String() string

func (*ClassesDO) Unmarshal added in v1.1.13

func (m *ClassesDO) Unmarshal(dAtA []byte) error

func (*ClassesDO) XXX_DiscardUnknown added in v1.1.13

func (m *ClassesDO) XXX_DiscardUnknown()

func (*ClassesDO) XXX_Marshal added in v1.1.13

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

func (*ClassesDO) XXX_Merge added in v1.1.13

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

func (*ClassesDO) XXX_Size added in v1.1.13

func (m *ClassesDO) XXX_Size() int

func (*ClassesDO) XXX_Unmarshal added in v1.1.13

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

type UsersDO

type UsersDO struct {
	Id                   int32    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Phone                string   `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"`
	Sex                  int32    `protobuf:"varint,4,opt,name=sex,proto3" json:"sex,omitempty"`
	Email                string   `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Disable              int32    `protobuf:"varint,6,opt,name=disable,proto3" json:"disable,omitempty"`
	Balance              float64  `protobuf:"fixed64,7,opt,name=balance,proto3" json:"balance,omitempty"`
	CreatedAt            string   `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt            string   `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UsersDO) Descriptor added in v1.1.13

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

func (*UsersDO) GetBalance

func (m *UsersDO) GetBalance() float64

func (*UsersDO) GetCreatedAt

func (m *UsersDO) GetCreatedAt() string

func (*UsersDO) GetDisable

func (m *UsersDO) GetDisable() int32

func (*UsersDO) GetEmail

func (m *UsersDO) GetEmail() string

func (*UsersDO) GetId

func (m *UsersDO) GetId() int32

func (*UsersDO) GetName

func (m *UsersDO) GetName() string

func (*UsersDO) GetPhone

func (m *UsersDO) GetPhone() string

func (*UsersDO) GetSex

func (m *UsersDO) GetSex() int32

func (*UsersDO) GetUpdatedAt

func (m *UsersDO) GetUpdatedAt() string

func (*UsersDO) GoString added in v1.1.13

func (this *UsersDO) GoString() string

func (*UsersDO) Marshal added in v1.1.13

func (m *UsersDO) Marshal() (dAtA []byte, err error)

func (*UsersDO) MarshalTo added in v1.1.13

func (m *UsersDO) MarshalTo(dAtA []byte) (int, error)

func (*UsersDO) MarshalToSizedBuffer added in v1.1.13

func (m *UsersDO) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UsersDO) ProtoMessage added in v1.1.13

func (*UsersDO) ProtoMessage()

func (*UsersDO) Reset added in v1.1.13

func (m *UsersDO) Reset()

func (*UsersDO) SetBalance

func (do *UsersDO) SetBalance(v float64)

func (*UsersDO) SetDisable

func (do *UsersDO) SetDisable(v int8)

func (*UsersDO) SetEmail

func (do *UsersDO) SetEmail(v string)

func (*UsersDO) SetId

func (do *UsersDO) SetId(v int32)

func (*UsersDO) SetName

func (do *UsersDO) SetName(v string)

func (*UsersDO) SetPhone

func (do *UsersDO) SetPhone(v string)

func (*UsersDO) SetSex

func (do *UsersDO) SetSex(v int8)

func (*UsersDO) Size added in v1.1.13

func (m *UsersDO) Size() (n int)

func (*UsersDO) String added in v1.1.13

func (m *UsersDO) String() string

func (*UsersDO) Unmarshal added in v1.1.13

func (m *UsersDO) Unmarshal(dAtA []byte) error

func (*UsersDO) XXX_DiscardUnknown added in v1.1.13

func (m *UsersDO) XXX_DiscardUnknown()

func (*UsersDO) XXX_Marshal added in v1.1.13

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

func (*UsersDO) XXX_Merge added in v1.1.13

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

func (*UsersDO) XXX_Size added in v1.1.13

func (m *UsersDO) XXX_Size() int

func (*UsersDO) XXX_Unmarshal added in v1.1.13

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

Jump to

Keyboard shortcuts

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