v1

package
v0.0.0-...-221f2c5 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RelationType_name = map[int32]string{
	0: "RELATION_TYPE_INVALID",
	1: "RELATION_TYPE_QQ",
	2: "RELATION_TYPE_EMAIL",
	3: "RELATION_TYPE_TEL",
	4: "RELATION_TYPE_MOBILE",
	5: "RELATION_TYPE_ADDRESS",
}
View Source
var RelationType_value = map[string]int32{
	"RELATION_TYPE_INVALID": 0,
	"RELATION_TYPE_QQ":      1,
	"RELATION_TYPE_EMAIL":   2,
	"RELATION_TYPE_TEL":     3,
	"RELATION_TYPE_MOBILE":  4,
	"RELATION_TYPE_ADDRESS": 5,
}

Functions

func RegisterSystemAPIServer

func RegisterSystemAPIServer(s *grpc.Server, srv SystemAPIServer)

Types

type ChangePasswordRequest

type ChangePasswordRequest struct {
	Account              string   `protobuf:"bytes,1,opt,name=account,proto3" json:"account,omitempty"`
	Password             string   `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	Confirm              string   `protobuf:"bytes,3,opt,name=confirm,proto3" json:"confirm,omitempty"`
	Code                 string   `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChangePasswordRequest) Descriptor

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

func (*ChangePasswordRequest) GetAccount

func (m *ChangePasswordRequest) GetAccount() string

func (*ChangePasswordRequest) GetCode

func (m *ChangePasswordRequest) GetCode() string

func (*ChangePasswordRequest) GetConfirm

func (m *ChangePasswordRequest) GetConfirm() string

func (*ChangePasswordRequest) GetPassword

func (m *ChangePasswordRequest) GetPassword() string

func (*ChangePasswordRequest) ProtoMessage

func (*ChangePasswordRequest) ProtoMessage()

func (*ChangePasswordRequest) Reset

func (m *ChangePasswordRequest) Reset()

func (*ChangePasswordRequest) String

func (m *ChangePasswordRequest) String() string

func (*ChangePasswordRequest) XXX_DiscardUnknown

func (m *ChangePasswordRequest) XXX_DiscardUnknown()

func (*ChangePasswordRequest) XXX_Marshal

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

func (*ChangePasswordRequest) XXX_Merge

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

func (*ChangePasswordRequest) XXX_Size

func (m *ChangePasswordRequest) XXX_Size() int

func (*ChangePasswordRequest) XXX_Unmarshal

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

type ChangePasswordResponse

type ChangePasswordResponse struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string   `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChangePasswordResponse) Descriptor

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

func (*ChangePasswordResponse) GetCode

func (m *ChangePasswordResponse) GetCode() int32

func (*ChangePasswordResponse) GetMsg

func (m *ChangePasswordResponse) GetMsg() string

func (*ChangePasswordResponse) ProtoMessage

func (*ChangePasswordResponse) ProtoMessage()

func (*ChangePasswordResponse) Reset

func (m *ChangePasswordResponse) Reset()

func (*ChangePasswordResponse) String

func (m *ChangePasswordResponse) String() string

func (*ChangePasswordResponse) XXX_DiscardUnknown

func (m *ChangePasswordResponse) XXX_DiscardUnknown()

func (*ChangePasswordResponse) XXX_Marshal

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

func (*ChangePasswordResponse) XXX_Merge

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

func (*ChangePasswordResponse) XXX_Size

func (m *ChangePasswordResponse) XXX_Size() int

func (*ChangePasswordResponse) XXX_Unmarshal

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

type Constact

type Constact struct {
	Id                   int64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	SupplierId           int64       `protobuf:"varint,2,opt,name=supplier_id,json=supplierId,proto3" json:"supplier_id,omitempty"`
	Title                string      `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Firstname            string      `protobuf:"bytes,4,opt,name=firstname,proto3" json:"firstname,omitempty"`
	Lastname             string      `protobuf:"bytes,5,opt,name=lastname,proto3" json:"lastname,omitempty"`
	Relations            []*Relation `protobuf:"bytes,6,rep,name=relations,proto3" json:"relations,omitempty"`
	CreatedTime          string      `protobuf:"bytes,101,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	UpdatedTime          string      `protobuf:"bytes,102,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"`
	DeletedTime          string      `protobuf:"bytes,103,opt,name=deleted_time,json=deletedTime,proto3" json:"deleted_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Constact 联系人信息.

func (*Constact) Descriptor

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

func (*Constact) GetCreatedTime

func (m *Constact) GetCreatedTime() string

func (*Constact) GetDeletedTime

func (m *Constact) GetDeletedTime() string

func (*Constact) GetFirstname

func (m *Constact) GetFirstname() string

func (*Constact) GetId

func (m *Constact) GetId() int64

func (*Constact) GetLastname

func (m *Constact) GetLastname() string

func (*Constact) GetRelations

func (m *Constact) GetRelations() []*Relation

func (*Constact) GetSupplierId

func (m *Constact) GetSupplierId() int64

func (*Constact) GetTitle

func (m *Constact) GetTitle() string

func (*Constact) GetUpdatedTime

func (m *Constact) GetUpdatedTime() string

func (*Constact) ProtoMessage

func (*Constact) ProtoMessage()

func (*Constact) Reset

func (m *Constact) Reset()

func (*Constact) String

func (m *Constact) String() string

func (*Constact) XXX_DiscardUnknown

func (m *Constact) XXX_DiscardUnknown()

func (*Constact) XXX_Marshal

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

func (*Constact) XXX_Merge

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

func (*Constact) XXX_Size

func (m *Constact) XXX_Size() int

func (*Constact) XXX_Unmarshal

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

type CurrentUserRequest

type CurrentUserRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CurrentUserRequest) Descriptor

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

func (*CurrentUserRequest) ProtoMessage

func (*CurrentUserRequest) ProtoMessage()

func (*CurrentUserRequest) Reset

func (m *CurrentUserRequest) Reset()

func (*CurrentUserRequest) String

func (m *CurrentUserRequest) String() string

func (*CurrentUserRequest) XXX_DiscardUnknown

func (m *CurrentUserRequest) XXX_DiscardUnknown()

func (*CurrentUserRequest) XXX_Marshal

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

func (*CurrentUserRequest) XXX_Merge

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

func (*CurrentUserRequest) XXX_Size

func (m *CurrentUserRequest) XXX_Size() int

func (*CurrentUserRequest) XXX_Unmarshal

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

type CurrentUserResponse

type CurrentUserResponse struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string   `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data                 *User    `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CurrentUserResponse) Descriptor

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

func (*CurrentUserResponse) GetCode

func (m *CurrentUserResponse) GetCode() int32

func (*CurrentUserResponse) GetData

func (m *CurrentUserResponse) GetData() *User

func (*CurrentUserResponse) GetMsg

func (m *CurrentUserResponse) GetMsg() string

func (*CurrentUserResponse) ProtoMessage

func (*CurrentUserResponse) ProtoMessage()

func (*CurrentUserResponse) Reset

func (m *CurrentUserResponse) Reset()

func (*CurrentUserResponse) String

func (m *CurrentUserResponse) String() string

func (*CurrentUserResponse) XXX_DiscardUnknown

func (m *CurrentUserResponse) XXX_DiscardUnknown()

func (*CurrentUserResponse) XXX_Marshal

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

func (*CurrentUserResponse) XXX_Merge

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

func (*CurrentUserResponse) XXX_Size

func (m *CurrentUserResponse) XXX_Size() int

func (*CurrentUserResponse) XXX_Unmarshal

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

type DeleteSupplierConstactRelationRequest

type DeleteSupplierConstactRelationRequest struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteSupplierConstactRelationRequest) Descriptor

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

func (*DeleteSupplierConstactRelationRequest) GetId

func (*DeleteSupplierConstactRelationRequest) ProtoMessage

func (*DeleteSupplierConstactRelationRequest) ProtoMessage()

func (*DeleteSupplierConstactRelationRequest) Reset

func (*DeleteSupplierConstactRelationRequest) String

func (*DeleteSupplierConstactRelationRequest) XXX_DiscardUnknown

func (m *DeleteSupplierConstactRelationRequest) XXX_DiscardUnknown()

func (*DeleteSupplierConstactRelationRequest) XXX_Marshal

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

func (*DeleteSupplierConstactRelationRequest) XXX_Merge

func (*DeleteSupplierConstactRelationRequest) XXX_Size

func (*DeleteSupplierConstactRelationRequest) XXX_Unmarshal

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

type DeleteSupplierConstactRelationResponse

type DeleteSupplierConstactRelationResponse struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string   `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteSupplierConstactRelationResponse) Descriptor

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

func (*DeleteSupplierConstactRelationResponse) GetCode

func (*DeleteSupplierConstactRelationResponse) GetMsg

func (*DeleteSupplierConstactRelationResponse) ProtoMessage

func (*DeleteSupplierConstactRelationResponse) Reset

func (*DeleteSupplierConstactRelationResponse) String

func (*DeleteSupplierConstactRelationResponse) XXX_DiscardUnknown

func (m *DeleteSupplierConstactRelationResponse) XXX_DiscardUnknown()

func (*DeleteSupplierConstactRelationResponse) XXX_Marshal

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

func (*DeleteSupplierConstactRelationResponse) XXX_Merge

func (*DeleteSupplierConstactRelationResponse) XXX_Size

func (*DeleteSupplierConstactRelationResponse) XXX_Unmarshal

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

type DeleteSupplierConstactRequest

type DeleteSupplierConstactRequest struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteSupplierConstactRequest) Descriptor

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

func (*DeleteSupplierConstactRequest) GetId

func (*DeleteSupplierConstactRequest) ProtoMessage

func (*DeleteSupplierConstactRequest) ProtoMessage()

func (*DeleteSupplierConstactRequest) Reset

func (m *DeleteSupplierConstactRequest) Reset()

func (*DeleteSupplierConstactRequest) String

func (*DeleteSupplierConstactRequest) XXX_DiscardUnknown

func (m *DeleteSupplierConstactRequest) XXX_DiscardUnknown()

func (*DeleteSupplierConstactRequest) XXX_Marshal

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

func (*DeleteSupplierConstactRequest) XXX_Merge

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

func (*DeleteSupplierConstactRequest) XXX_Size

func (m *DeleteSupplierConstactRequest) XXX_Size() int

func (*DeleteSupplierConstactRequest) XXX_Unmarshal

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

type DeleteSupplierConstactResponse

type DeleteSupplierConstactResponse struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string   `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteSupplierConstactResponse) Descriptor

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

func (*DeleteSupplierConstactResponse) GetCode

func (*DeleteSupplierConstactResponse) GetMsg

func (*DeleteSupplierConstactResponse) ProtoMessage

func (*DeleteSupplierConstactResponse) ProtoMessage()

func (*DeleteSupplierConstactResponse) Reset

func (m *DeleteSupplierConstactResponse) Reset()

func (*DeleteSupplierConstactResponse) String

func (*DeleteSupplierConstactResponse) XXX_DiscardUnknown

func (m *DeleteSupplierConstactResponse) XXX_DiscardUnknown()

func (*DeleteSupplierConstactResponse) XXX_Marshal

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

func (*DeleteSupplierConstactResponse) XXX_Merge

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

func (*DeleteSupplierConstactResponse) XXX_Size

func (m *DeleteSupplierConstactResponse) XXX_Size() int

func (*DeleteSupplierConstactResponse) XXX_Unmarshal

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

type DeleteSupplierRequest

type DeleteSupplierRequest struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteSupplierRequest) Descriptor

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

func (*DeleteSupplierRequest) GetId

func (m *DeleteSupplierRequest) GetId() int64

func (*DeleteSupplierRequest) ProtoMessage

func (*DeleteSupplierRequest) ProtoMessage()

func (*DeleteSupplierRequest) Reset

func (m *DeleteSupplierRequest) Reset()

func (*DeleteSupplierRequest) String

func (m *DeleteSupplierRequest) String() string

func (*DeleteSupplierRequest) XXX_DiscardUnknown

func (m *DeleteSupplierRequest) XXX_DiscardUnknown()

func (*DeleteSupplierRequest) XXX_Marshal

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

func (*DeleteSupplierRequest) XXX_Merge

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

func (*DeleteSupplierRequest) XXX_Size

func (m *DeleteSupplierRequest) XXX_Size() int

func (*DeleteSupplierRequest) XXX_Unmarshal

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

type DeleteSupplierResponse

type DeleteSupplierResponse struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string   `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteSupplierResponse) Descriptor

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

func (*DeleteSupplierResponse) GetCode

func (m *DeleteSupplierResponse) GetCode() int32

func (*DeleteSupplierResponse) GetMsg

func (m *DeleteSupplierResponse) GetMsg() string

func (*DeleteSupplierResponse) ProtoMessage

func (*DeleteSupplierResponse) ProtoMessage()

func (*DeleteSupplierResponse) Reset

func (m *DeleteSupplierResponse) Reset()

func (*DeleteSupplierResponse) String

func (m *DeleteSupplierResponse) String() string

func (*DeleteSupplierResponse) XXX_DiscardUnknown

func (m *DeleteSupplierResponse) XXX_DiscardUnknown()

func (*DeleteSupplierResponse) XXX_Marshal

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

func (*DeleteSupplierResponse) XXX_Merge

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

func (*DeleteSupplierResponse) XXX_Size

func (m *DeleteSupplierResponse) XXX_Size() int

func (*DeleteSupplierResponse) XXX_Unmarshal

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

type Relation

type Relation struct {
	Id                   int64        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ConstactId           int64        `protobuf:"varint,2,opt,name=constact_id,json=constactId,proto3" json:"constact_id,omitempty"`
	Type                 RelationType `protobuf:"varint,3,opt,name=type,proto3,enum=donech.pearl.system.v1.RelationType" json:"type,omitempty"`
	Value                string       `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	CreatedTime          string       `protobuf:"bytes,101,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	UpdatedTime          string       `protobuf:"bytes,102,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"`
	DeletedTime          string       `protobuf:"bytes,103,opt,name=deleted_time,json=deletedTime,proto3" json:"deleted_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

Relation 联系方式.

func (*Relation) Descriptor

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

func (*Relation) GetConstactId

func (m *Relation) GetConstactId() int64

func (*Relation) GetCreatedTime

func (m *Relation) GetCreatedTime() string

func (*Relation) GetDeletedTime

func (m *Relation) GetDeletedTime() string

func (*Relation) GetId

func (m *Relation) GetId() int64

func (*Relation) GetType

func (m *Relation) GetType() RelationType

func (*Relation) GetUpdatedTime

func (m *Relation) GetUpdatedTime() string

func (*Relation) GetValue

func (m *Relation) GetValue() string

func (*Relation) ProtoMessage

func (*Relation) ProtoMessage()

func (*Relation) Reset

func (m *Relation) Reset()

func (*Relation) String

func (m *Relation) String() string

func (*Relation) XXX_DiscardUnknown

func (m *Relation) XXX_DiscardUnknown()

func (*Relation) XXX_Marshal

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

func (*Relation) XXX_Merge

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

func (*Relation) XXX_Size

func (m *Relation) XXX_Size() int

func (*Relation) XXX_Unmarshal

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

type RelationType

type RelationType int32

RelationType 联系方式类型.

const (
	//RELATION_TYPE_INVALID 非法Type.
	RelationType_RELATION_TYPE_INVALID RelationType = 0
	//RELATION_TYPE_QQ qq.
	RelationType_RELATION_TYPE_QQ RelationType = 1
	//RELATION_TYPE_EMAIL 邮箱.
	RelationType_RELATION_TYPE_EMAIL RelationType = 2
	//RELATION_TYPE_TEL 座机.
	RelationType_RELATION_TYPE_TEL RelationType = 3
	//RELATION_TYPE_MOBILE 移动电话.
	RelationType_RELATION_TYPE_MOBILE RelationType = 4
	//RELATION_TYPE_ADDRESS 联系地址.
	RelationType_RELATION_TYPE_ADDRESS RelationType = 5
)

func (RelationType) EnumDescriptor

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

func (RelationType) String

func (x RelationType) String() string

type SaveSupplierConstactRelationRequest

type SaveSupplierConstactRelationRequest struct {
	Id                   int64        `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ConstactId           int64        `protobuf:"varint,2,opt,name=constact_id,json=constactId,proto3" json:"constact_id,omitempty"`
	Type                 RelationType `protobuf:"varint,3,opt,name=type,proto3,enum=donech.pearl.system.v1.RelationType" json:"type,omitempty"`
	Value                string       `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*SaveSupplierConstactRelationRequest) Descriptor

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

func (*SaveSupplierConstactRelationRequest) GetConstactId

func (m *SaveSupplierConstactRelationRequest) GetConstactId() int64

func (*SaveSupplierConstactRelationRequest) GetId

func (*SaveSupplierConstactRelationRequest) GetType

func (*SaveSupplierConstactRelationRequest) GetValue

func (*SaveSupplierConstactRelationRequest) ProtoMessage

func (*SaveSupplierConstactRelationRequest) ProtoMessage()

func (*SaveSupplierConstactRelationRequest) Reset

func (*SaveSupplierConstactRelationRequest) String

func (*SaveSupplierConstactRelationRequest) XXX_DiscardUnknown

func (m *SaveSupplierConstactRelationRequest) XXX_DiscardUnknown()

func (*SaveSupplierConstactRelationRequest) XXX_Marshal

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

func (*SaveSupplierConstactRelationRequest) XXX_Merge

func (*SaveSupplierConstactRelationRequest) XXX_Size

func (*SaveSupplierConstactRelationRequest) XXX_Unmarshal

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

type SaveSupplierConstactRelationResponse

type SaveSupplierConstactRelationResponse struct {
	Code                 int32     `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string    `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data                 *Relation `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*SaveSupplierConstactRelationResponse) Descriptor

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

func (*SaveSupplierConstactRelationResponse) GetCode

func (*SaveSupplierConstactRelationResponse) GetData

func (*SaveSupplierConstactRelationResponse) GetMsg

func (*SaveSupplierConstactRelationResponse) ProtoMessage

func (*SaveSupplierConstactRelationResponse) ProtoMessage()

func (*SaveSupplierConstactRelationResponse) Reset

func (*SaveSupplierConstactRelationResponse) String

func (*SaveSupplierConstactRelationResponse) XXX_DiscardUnknown

func (m *SaveSupplierConstactRelationResponse) XXX_DiscardUnknown()

func (*SaveSupplierConstactRelationResponse) XXX_Marshal

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

func (*SaveSupplierConstactRelationResponse) XXX_Merge

func (*SaveSupplierConstactRelationResponse) XXX_Size

func (*SaveSupplierConstactRelationResponse) XXX_Unmarshal

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

type SaveSupplierConstactRequest

type SaveSupplierConstactRequest struct {
	Id                   int64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	SupplierId           int64       `protobuf:"varint,2,opt,name=supplier_id,json=supplierId,proto3" json:"supplier_id,omitempty"`
	Title                string      `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
	Firstname            string      `protobuf:"bytes,4,opt,name=firstname,proto3" json:"firstname,omitempty"`
	Lastname             string      `protobuf:"bytes,5,opt,name=lastname,proto3" json:"lastname,omitempty"`
	Relations            []*Relation `protobuf:"bytes,6,rep,name=relations,proto3" json:"relations,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*SaveSupplierConstactRequest) Descriptor

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

func (*SaveSupplierConstactRequest) GetFirstname

func (m *SaveSupplierConstactRequest) GetFirstname() string

func (*SaveSupplierConstactRequest) GetId

func (*SaveSupplierConstactRequest) GetLastname

func (m *SaveSupplierConstactRequest) GetLastname() string

func (*SaveSupplierConstactRequest) GetRelations

func (m *SaveSupplierConstactRequest) GetRelations() []*Relation

func (*SaveSupplierConstactRequest) GetSupplierId

func (m *SaveSupplierConstactRequest) GetSupplierId() int64

func (*SaveSupplierConstactRequest) GetTitle

func (m *SaveSupplierConstactRequest) GetTitle() string

func (*SaveSupplierConstactRequest) ProtoMessage

func (*SaveSupplierConstactRequest) ProtoMessage()

func (*SaveSupplierConstactRequest) Reset

func (m *SaveSupplierConstactRequest) Reset()

func (*SaveSupplierConstactRequest) String

func (m *SaveSupplierConstactRequest) String() string

func (*SaveSupplierConstactRequest) XXX_DiscardUnknown

func (m *SaveSupplierConstactRequest) XXX_DiscardUnknown()

func (*SaveSupplierConstactRequest) XXX_Marshal

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

func (*SaveSupplierConstactRequest) XXX_Merge

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

func (*SaveSupplierConstactRequest) XXX_Size

func (m *SaveSupplierConstactRequest) XXX_Size() int

func (*SaveSupplierConstactRequest) XXX_Unmarshal

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

type SaveSupplierConstactResponse

type SaveSupplierConstactResponse struct {
	Code                 int32     `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string    `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data                 *Constact `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*SaveSupplierConstactResponse) Descriptor

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

func (*SaveSupplierConstactResponse) GetCode

func (m *SaveSupplierConstactResponse) GetCode() int32

func (*SaveSupplierConstactResponse) GetData

func (m *SaveSupplierConstactResponse) GetData() *Constact

func (*SaveSupplierConstactResponse) GetMsg

func (*SaveSupplierConstactResponse) ProtoMessage

func (*SaveSupplierConstactResponse) ProtoMessage()

func (*SaveSupplierConstactResponse) Reset

func (m *SaveSupplierConstactResponse) Reset()

func (*SaveSupplierConstactResponse) String

func (*SaveSupplierConstactResponse) XXX_DiscardUnknown

func (m *SaveSupplierConstactResponse) XXX_DiscardUnknown()

func (*SaveSupplierConstactResponse) XXX_Marshal

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

func (*SaveSupplierConstactResponse) XXX_Merge

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

func (*SaveSupplierConstactResponse) XXX_Size

func (m *SaveSupplierConstactResponse) XXX_Size() int

func (*SaveSupplierConstactResponse) XXX_Unmarshal

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

type SaveSupplierRequest

type SaveSupplierRequest struct {
	Id                   int64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Address              string      `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Constacts            []*Constact `protobuf:"bytes,4,rep,name=constacts,proto3" json:"constacts,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*SaveSupplierRequest) Descriptor

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

func (*SaveSupplierRequest) GetAddress

func (m *SaveSupplierRequest) GetAddress() string

func (*SaveSupplierRequest) GetConstacts

func (m *SaveSupplierRequest) GetConstacts() []*Constact

func (*SaveSupplierRequest) GetId

func (m *SaveSupplierRequest) GetId() int64

func (*SaveSupplierRequest) GetName

func (m *SaveSupplierRequest) GetName() string

func (*SaveSupplierRequest) ProtoMessage

func (*SaveSupplierRequest) ProtoMessage()

func (*SaveSupplierRequest) Reset

func (m *SaveSupplierRequest) Reset()

func (*SaveSupplierRequest) String

func (m *SaveSupplierRequest) String() string

func (*SaveSupplierRequest) XXX_DiscardUnknown

func (m *SaveSupplierRequest) XXX_DiscardUnknown()

func (*SaveSupplierRequest) XXX_Marshal

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

func (*SaveSupplierRequest) XXX_Merge

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

func (*SaveSupplierRequest) XXX_Size

func (m *SaveSupplierRequest) XXX_Size() int

func (*SaveSupplierRequest) XXX_Unmarshal

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

type SaveSupplierResponse

type SaveSupplierResponse struct {
	Code                 int32     `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string    `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data                 *Supplier `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*SaveSupplierResponse) Descriptor

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

func (*SaveSupplierResponse) GetCode

func (m *SaveSupplierResponse) GetCode() int32

func (*SaveSupplierResponse) GetData

func (m *SaveSupplierResponse) GetData() *Supplier

func (*SaveSupplierResponse) GetMsg

func (m *SaveSupplierResponse) GetMsg() string

func (*SaveSupplierResponse) ProtoMessage

func (*SaveSupplierResponse) ProtoMessage()

func (*SaveSupplierResponse) Reset

func (m *SaveSupplierResponse) Reset()

func (*SaveSupplierResponse) String

func (m *SaveSupplierResponse) String() string

func (*SaveSupplierResponse) XXX_DiscardUnknown

func (m *SaveSupplierResponse) XXX_DiscardUnknown()

func (*SaveSupplierResponse) XXX_Marshal

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

func (*SaveSupplierResponse) XXX_Merge

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

func (*SaveSupplierResponse) XXX_Size

func (m *SaveSupplierResponse) XXX_Size() int

func (*SaveSupplierResponse) XXX_Unmarshal

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

type SaveUserRequest

type SaveUserRequest struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Account              string   `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Password             string   `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	Confirm              string   `protobuf:"bytes,4,opt,name=confirm,proto3" json:"confirm,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SaveUserRequest) Descriptor

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

func (*SaveUserRequest) GetAccount

func (m *SaveUserRequest) GetAccount() string

func (*SaveUserRequest) GetConfirm

func (m *SaveUserRequest) GetConfirm() string

func (*SaveUserRequest) GetName

func (m *SaveUserRequest) GetName() string

func (*SaveUserRequest) GetPassword

func (m *SaveUserRequest) GetPassword() string

func (*SaveUserRequest) ProtoMessage

func (*SaveUserRequest) ProtoMessage()

func (*SaveUserRequest) Reset

func (m *SaveUserRequest) Reset()

func (*SaveUserRequest) String

func (m *SaveUserRequest) String() string

func (*SaveUserRequest) XXX_DiscardUnknown

func (m *SaveUserRequest) XXX_DiscardUnknown()

func (*SaveUserRequest) XXX_Marshal

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

func (*SaveUserRequest) XXX_Merge

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

func (*SaveUserRequest) XXX_Size

func (m *SaveUserRequest) XXX_Size() int

func (*SaveUserRequest) XXX_Unmarshal

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

type SaveUserResponse

type SaveUserResponse struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string   `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data                 *User    `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SaveUserResponse) Descriptor

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

func (*SaveUserResponse) GetCode

func (m *SaveUserResponse) GetCode() int32

func (*SaveUserResponse) GetData

func (m *SaveUserResponse) GetData() *User

func (*SaveUserResponse) GetMsg

func (m *SaveUserResponse) GetMsg() string

func (*SaveUserResponse) ProtoMessage

func (*SaveUserResponse) ProtoMessage()

func (*SaveUserResponse) Reset

func (m *SaveUserResponse) Reset()

func (*SaveUserResponse) String

func (m *SaveUserResponse) String() string

func (*SaveUserResponse) XXX_DiscardUnknown

func (m *SaveUserResponse) XXX_DiscardUnknown()

func (*SaveUserResponse) XXX_Marshal

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

func (*SaveUserResponse) XXX_Merge

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

func (*SaveUserResponse) XXX_Size

func (m *SaveUserResponse) XXX_Size() int

func (*SaveUserResponse) XXX_Unmarshal

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

type Supplier

type Supplier struct {
	Id                   int64       `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string      `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Address              string      `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Constacts            []*Constact `protobuf:"bytes,4,rep,name=constacts,proto3" json:"constacts,omitempty"`
	CreatedTime          string      `protobuf:"bytes,101,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	UpdatedTime          string      `protobuf:"bytes,102,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"`
	DeletedTime          string      `protobuf:"bytes,103,opt,name=deleted_time,json=deletedTime,proto3" json:"deleted_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Supplier 供应商信息.

func (*Supplier) Descriptor

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

func (*Supplier) GetAddress

func (m *Supplier) GetAddress() string

func (*Supplier) GetConstacts

func (m *Supplier) GetConstacts() []*Constact

func (*Supplier) GetCreatedTime

func (m *Supplier) GetCreatedTime() string

func (*Supplier) GetDeletedTime

func (m *Supplier) GetDeletedTime() string

func (*Supplier) GetId

func (m *Supplier) GetId() int64

func (*Supplier) GetName

func (m *Supplier) GetName() string

func (*Supplier) GetUpdatedTime

func (m *Supplier) GetUpdatedTime() string

func (*Supplier) ProtoMessage

func (*Supplier) ProtoMessage()

func (*Supplier) Reset

func (m *Supplier) Reset()

func (*Supplier) String

func (m *Supplier) String() string

func (*Supplier) XXX_DiscardUnknown

func (m *Supplier) XXX_DiscardUnknown()

func (*Supplier) XXX_Marshal

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

func (*Supplier) XXX_Merge

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

func (*Supplier) XXX_Size

func (m *Supplier) XXX_Size() int

func (*Supplier) XXX_Unmarshal

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

type SupplierListRequest

type SupplierListRequest struct {
	Name                 string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Address              string    `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	Pager                *v1.Pager `protobuf:"bytes,3,opt,name=pager,proto3" json:"pager,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

SupplierListRequest.

func (*SupplierListRequest) Descriptor

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

func (*SupplierListRequest) GetAddress

func (m *SupplierListRequest) GetAddress() string

func (*SupplierListRequest) GetName

func (m *SupplierListRequest) GetName() string

func (*SupplierListRequest) GetPager

func (m *SupplierListRequest) GetPager() *v1.Pager

func (*SupplierListRequest) ProtoMessage

func (*SupplierListRequest) ProtoMessage()

func (*SupplierListRequest) Reset

func (m *SupplierListRequest) Reset()

func (*SupplierListRequest) String

func (m *SupplierListRequest) String() string

func (*SupplierListRequest) XXX_DiscardUnknown

func (m *SupplierListRequest) XXX_DiscardUnknown()

func (*SupplierListRequest) XXX_Marshal

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

func (*SupplierListRequest) XXX_Merge

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

func (*SupplierListRequest) XXX_Size

func (m *SupplierListRequest) XXX_Size() int

func (*SupplierListRequest) XXX_Unmarshal

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

type SupplierListResponse

type SupplierListResponse struct {
	Code                 int32                      `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string                     `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data                 *SupplierListResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

SupplierListResponse.

func (*SupplierListResponse) Descriptor

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

func (*SupplierListResponse) GetCode

func (m *SupplierListResponse) GetCode() int32

func (*SupplierListResponse) GetData

func (*SupplierListResponse) GetMsg

func (m *SupplierListResponse) GetMsg() string

func (*SupplierListResponse) ProtoMessage

func (*SupplierListResponse) ProtoMessage()

func (*SupplierListResponse) Reset

func (m *SupplierListResponse) Reset()

func (*SupplierListResponse) String

func (m *SupplierListResponse) String() string

func (*SupplierListResponse) XXX_DiscardUnknown

func (m *SupplierListResponse) XXX_DiscardUnknown()

func (*SupplierListResponse) XXX_Marshal

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

func (*SupplierListResponse) XXX_Merge

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

func (*SupplierListResponse) XXX_Size

func (m *SupplierListResponse) XXX_Size() int

func (*SupplierListResponse) XXX_Unmarshal

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

type SupplierListResponse_Data

type SupplierListResponse_Data struct {
	Total                int32       `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List                 []*Supplier `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

Data.

func (*SupplierListResponse_Data) Descriptor

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

func (*SupplierListResponse_Data) GetList

func (m *SupplierListResponse_Data) GetList() []*Supplier

func (*SupplierListResponse_Data) GetTotal

func (m *SupplierListResponse_Data) GetTotal() int32

func (*SupplierListResponse_Data) ProtoMessage

func (*SupplierListResponse_Data) ProtoMessage()

func (*SupplierListResponse_Data) Reset

func (m *SupplierListResponse_Data) Reset()

func (*SupplierListResponse_Data) String

func (m *SupplierListResponse_Data) String() string

func (*SupplierListResponse_Data) XXX_DiscardUnknown

func (m *SupplierListResponse_Data) XXX_DiscardUnknown()

func (*SupplierListResponse_Data) XXX_Marshal

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

func (*SupplierListResponse_Data) XXX_Merge

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

func (*SupplierListResponse_Data) XXX_Size

func (m *SupplierListResponse_Data) XXX_Size() int

func (*SupplierListResponse_Data) XXX_Unmarshal

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

type SupplierRequest

type SupplierRequest struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SupplierRequest) Descriptor

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

func (*SupplierRequest) GetId

func (m *SupplierRequest) GetId() int64

func (*SupplierRequest) ProtoMessage

func (*SupplierRequest) ProtoMessage()

func (*SupplierRequest) Reset

func (m *SupplierRequest) Reset()

func (*SupplierRequest) String

func (m *SupplierRequest) String() string

func (*SupplierRequest) XXX_DiscardUnknown

func (m *SupplierRequest) XXX_DiscardUnknown()

func (*SupplierRequest) XXX_Marshal

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

func (*SupplierRequest) XXX_Merge

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

func (*SupplierRequest) XXX_Size

func (m *SupplierRequest) XXX_Size() int

func (*SupplierRequest) XXX_Unmarshal

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

type SupplierResponse

type SupplierResponse struct {
	Code                 int32     `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string    `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data                 *Supplier `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*SupplierResponse) Descriptor

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

func (*SupplierResponse) GetCode

func (m *SupplierResponse) GetCode() int32

func (*SupplierResponse) GetData

func (m *SupplierResponse) GetData() *Supplier

func (*SupplierResponse) GetMsg

func (m *SupplierResponse) GetMsg() string

func (*SupplierResponse) ProtoMessage

func (*SupplierResponse) ProtoMessage()

func (*SupplierResponse) Reset

func (m *SupplierResponse) Reset()

func (*SupplierResponse) String

func (m *SupplierResponse) String() string

func (*SupplierResponse) XXX_DiscardUnknown

func (m *SupplierResponse) XXX_DiscardUnknown()

func (*SupplierResponse) XXX_Marshal

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

func (*SupplierResponse) XXX_Merge

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

func (*SupplierResponse) XXX_Size

func (m *SupplierResponse) XXX_Size() int

func (*SupplierResponse) XXX_Unmarshal

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

type SystemAPIClient

type SystemAPIClient interface {
	//Users 用户列表.
	Users(ctx context.Context, in *UsersRequest, opts ...grpc.CallOption) (*UsersResponse, error)
	//User 用户详情.
	User(ctx context.Context, in *UserRequest, opts ...grpc.CallOption) (*UserResponse, error)
	//CurrentUser 当前用户详情.
	CurrentUser(ctx context.Context, in *CurrentUserRequest, opts ...grpc.CallOption) (*CurrentUserResponse, error)
	//SaveUser 创建.
	SaveUser(ctx context.Context, in *SaveUserRequest, opts ...grpc.CallOption) (*SaveUserResponse, error)
	//ChangePassword 创建.
	ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*ChangePasswordResponse, error)
	//SupplierList 供货商列表.
	SupplierList(ctx context.Context, in *SupplierListRequest, opts ...grpc.CallOption) (*SupplierListResponse, error)
	//Supplier 供货商详情.
	Supplier(ctx context.Context, in *SupplierRequest, opts ...grpc.CallOption) (*SupplierResponse, error)
	//SaveSupplier 创建/更新供货商.
	SaveSupplier(ctx context.Context, in *SaveSupplierRequest, opts ...grpc.CallOption) (*SaveSupplierResponse, error)
	//DeleteSupplier 删除供货商.
	DeleteSupplier(ctx context.Context, in *DeleteSupplierRequest, opts ...grpc.CallOption) (*DeleteSupplierResponse, error)
	//SaveSupplierConstact 创建/更新供货商联系人.
	SaveSupplierConstact(ctx context.Context, in *SaveSupplierConstactRequest, opts ...grpc.CallOption) (*SaveSupplierConstactResponse, error)
	//DeleteSupplierConstact 删除供货商联系人.
	DeleteSupplierConstact(ctx context.Context, in *DeleteSupplierConstactRequest, opts ...grpc.CallOption) (*DeleteSupplierConstactResponse, error)
	//SaveSupplierConstactRelation 创建/更新供货商联系人联系方式.
	SaveSupplierConstactRelation(ctx context.Context, in *SaveSupplierConstactRelationRequest, opts ...grpc.CallOption) (*SaveSupplierConstactRelationResponse, error)
	//DeleteSupplierConstactRelation 删除供货商联系人联系方式.
	DeleteSupplierConstactRelation(ctx context.Context, in *DeleteSupplierConstactRelationRequest, opts ...grpc.CallOption) (*DeleteSupplierConstactRelationResponse, error)
}

SystemAPIClient is the client API for SystemAPI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewSystemAPIClient

func NewSystemAPIClient(cc *grpc.ClientConn) SystemAPIClient

type SystemAPIServer

type SystemAPIServer interface {
	//Users 用户列表.
	Users(context.Context, *UsersRequest) (*UsersResponse, error)
	//User 用户详情.
	User(context.Context, *UserRequest) (*UserResponse, error)
	//CurrentUser 当前用户详情.
	CurrentUser(context.Context, *CurrentUserRequest) (*CurrentUserResponse, error)
	//SaveUser 创建.
	SaveUser(context.Context, *SaveUserRequest) (*SaveUserResponse, error)
	//ChangePassword 创建.
	ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
	//SupplierList 供货商列表.
	SupplierList(context.Context, *SupplierListRequest) (*SupplierListResponse, error)
	//Supplier 供货商详情.
	Supplier(context.Context, *SupplierRequest) (*SupplierResponse, error)
	//SaveSupplier 创建/更新供货商.
	SaveSupplier(context.Context, *SaveSupplierRequest) (*SaveSupplierResponse, error)
	//DeleteSupplier 删除供货商.
	DeleteSupplier(context.Context, *DeleteSupplierRequest) (*DeleteSupplierResponse, error)
	//SaveSupplierConstact 创建/更新供货商联系人.
	SaveSupplierConstact(context.Context, *SaveSupplierConstactRequest) (*SaveSupplierConstactResponse, error)
	//DeleteSupplierConstact 删除供货商联系人.
	DeleteSupplierConstact(context.Context, *DeleteSupplierConstactRequest) (*DeleteSupplierConstactResponse, error)
	//SaveSupplierConstactRelation 创建/更新供货商联系人联系方式.
	SaveSupplierConstactRelation(context.Context, *SaveSupplierConstactRelationRequest) (*SaveSupplierConstactRelationResponse, error)
	//DeleteSupplierConstactRelation 删除供货商联系人联系方式.
	DeleteSupplierConstactRelation(context.Context, *DeleteSupplierConstactRelationRequest) (*DeleteSupplierConstactRelationResponse, error)
}

SystemAPIServer is the server API for SystemAPI service.

type User

type User struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Account              string   `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`
	CreatedTime          string   `protobuf:"bytes,101,opt,name=created_time,json=createdTime,proto3" json:"created_time,omitempty"`
	UpdatedTime          string   `protobuf:"bytes,102,opt,name=updated_time,json=updatedTime,proto3" json:"updated_time,omitempty"`
	DeletedTime          string   `protobuf:"bytes,103,opt,name=deleted_time,json=deletedTime,proto3" json:"deleted_time,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

User 用户详情.

func (*User) Descriptor

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

func (*User) GetAccount

func (m *User) GetAccount() string

func (*User) GetCreatedTime

func (m *User) GetCreatedTime() string

func (*User) GetDeletedTime

func (m *User) GetDeletedTime() string

func (*User) GetId

func (m *User) GetId() int64

func (*User) GetName

func (m *User) GetName() string

func (*User) GetUpdatedTime

func (m *User) GetUpdatedTime() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

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

func (*User) XXX_Merge

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

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

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

type UserRequest

type UserRequest struct {
	Id                   int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserRequest) Descriptor

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

func (*UserRequest) GetId

func (m *UserRequest) GetId() int64

func (*UserRequest) ProtoMessage

func (*UserRequest) ProtoMessage()

func (*UserRequest) Reset

func (m *UserRequest) Reset()

func (*UserRequest) String

func (m *UserRequest) String() string

func (*UserRequest) XXX_DiscardUnknown

func (m *UserRequest) XXX_DiscardUnknown()

func (*UserRequest) XXX_Marshal

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

func (*UserRequest) XXX_Merge

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

func (*UserRequest) XXX_Size

func (m *UserRequest) XXX_Size() int

func (*UserRequest) XXX_Unmarshal

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

type UserResponse

type UserResponse struct {
	Code                 int32    `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string   `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data                 *User    `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserResponse) Descriptor

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

func (*UserResponse) GetCode

func (m *UserResponse) GetCode() int32

func (*UserResponse) GetData

func (m *UserResponse) GetData() *User

func (*UserResponse) GetMsg

func (m *UserResponse) GetMsg() string

func (*UserResponse) ProtoMessage

func (*UserResponse) ProtoMessage()

func (*UserResponse) Reset

func (m *UserResponse) Reset()

func (*UserResponse) String

func (m *UserResponse) String() string

func (*UserResponse) XXX_DiscardUnknown

func (m *UserResponse) XXX_DiscardUnknown()

func (*UserResponse) XXX_Marshal

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

func (*UserResponse) XXX_Merge

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

func (*UserResponse) XXX_Size

func (m *UserResponse) XXX_Size() int

func (*UserResponse) XXX_Unmarshal

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

type UsersRequest

type UsersRequest struct {
	Name                 string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Account              string    `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	Pager                *v1.Pager `protobuf:"bytes,3,opt,name=pager,proto3" json:"pager,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

UsersRequest.

func (*UsersRequest) Descriptor

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

func (*UsersRequest) GetAccount

func (m *UsersRequest) GetAccount() string

func (*UsersRequest) GetName

func (m *UsersRequest) GetName() string

func (*UsersRequest) GetPager

func (m *UsersRequest) GetPager() *v1.Pager

func (*UsersRequest) ProtoMessage

func (*UsersRequest) ProtoMessage()

func (*UsersRequest) Reset

func (m *UsersRequest) Reset()

func (*UsersRequest) String

func (m *UsersRequest) String() string

func (*UsersRequest) XXX_DiscardUnknown

func (m *UsersRequest) XXX_DiscardUnknown()

func (*UsersRequest) XXX_Marshal

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

func (*UsersRequest) XXX_Merge

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

func (*UsersRequest) XXX_Size

func (m *UsersRequest) XXX_Size() int

func (*UsersRequest) XXX_Unmarshal

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

type UsersResponse

type UsersResponse struct {
	Code                 int32               `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	Msg                  string              `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Data                 *UsersResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

UsersResponse.

func (*UsersResponse) Descriptor

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

func (*UsersResponse) GetCode

func (m *UsersResponse) GetCode() int32

func (*UsersResponse) GetData

func (m *UsersResponse) GetData() *UsersResponse_Data

func (*UsersResponse) GetMsg

func (m *UsersResponse) GetMsg() string

func (*UsersResponse) ProtoMessage

func (*UsersResponse) ProtoMessage()

func (*UsersResponse) Reset

func (m *UsersResponse) Reset()

func (*UsersResponse) String

func (m *UsersResponse) String() string

func (*UsersResponse) XXX_DiscardUnknown

func (m *UsersResponse) XXX_DiscardUnknown()

func (*UsersResponse) XXX_Marshal

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

func (*UsersResponse) XXX_Merge

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

func (*UsersResponse) XXX_Size

func (m *UsersResponse) XXX_Size() int

func (*UsersResponse) XXX_Unmarshal

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

type UsersResponse_Data

type UsersResponse_Data struct {
	Total                int32    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	List                 []*User  `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Data.

func (*UsersResponse_Data) Descriptor

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

func (*UsersResponse_Data) GetList

func (m *UsersResponse_Data) GetList() []*User

func (*UsersResponse_Data) GetTotal

func (m *UsersResponse_Data) GetTotal() int32

func (*UsersResponse_Data) ProtoMessage

func (*UsersResponse_Data) ProtoMessage()

func (*UsersResponse_Data) Reset

func (m *UsersResponse_Data) Reset()

func (*UsersResponse_Data) String

func (m *UsersResponse_Data) String() string

func (*UsersResponse_Data) XXX_DiscardUnknown

func (m *UsersResponse_Data) XXX_DiscardUnknown()

func (*UsersResponse_Data) XXX_Marshal

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

func (*UsersResponse_Data) XXX_Merge

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

func (*UsersResponse_Data) XXX_Size

func (m *UsersResponse_Data) XXX_Size() int

func (*UsersResponse_Data) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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