go_micro_srv_material

package
v2.3.3 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_proto_material_material_proto protoreflect.FileDescriptor

Functions

func NewMaterialServiceEndpoints

func NewMaterialServiceEndpoints() []*api.Endpoint

func RegisterMaterialServiceHandler

func RegisterMaterialServiceHandler(s server.Server, hdlr MaterialServiceHandler, opts ...server.HandlerOption) error

Types

type CellReq

type CellReq struct {

	//物料ID
	MaterialID int64  `protobuf:"varint,1,opt,name=materialID,proto3" json:"materialID,omitempty"`
	CellID     uint32 `protobuf:"varint,2,opt,name=cellID,proto3" json:"cellID,omitempty"`
	// contains filtered or unexported fields
}

func (*CellReq) Descriptor deprecated

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

Deprecated: Use CellReq.ProtoReflect.Descriptor instead.

func (*CellReq) GetCellID

func (x *CellReq) GetCellID() uint32

func (*CellReq) GetMaterialID

func (x *CellReq) GetMaterialID() int64

func (*CellReq) ProtoMessage

func (*CellReq) ProtoMessage()

func (*CellReq) ProtoReflect

func (x *CellReq) ProtoReflect() protoreflect.Message

func (*CellReq) Reset

func (x *CellReq) Reset()

func (*CellReq) String

func (x *CellReq) String() string

type LogLevelRequest

type LogLevelRequest struct {
	// contains filtered or unexported fields
}

func (*LogLevelRequest) Descriptor deprecated

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

Deprecated: Use LogLevelRequest.ProtoReflect.Descriptor instead.

func (*LogLevelRequest) ProtoMessage

func (*LogLevelRequest) ProtoMessage()

func (*LogLevelRequest) ProtoReflect

func (x *LogLevelRequest) ProtoReflect() protoreflect.Message

func (*LogLevelRequest) Reset

func (x *LogLevelRequest) Reset()

func (*LogLevelRequest) String

func (x *LogLevelRequest) String() string

type LogResponse

type LogResponse struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*LogResponse) Descriptor deprecated

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

Deprecated: Use LogResponse.ProtoReflect.Descriptor instead.

func (*LogResponse) GetName

func (x *LogResponse) GetName() string

func (*LogResponse) ProtoMessage

func (*LogResponse) ProtoMessage()

func (*LogResponse) ProtoReflect

func (x *LogResponse) ProtoReflect() protoreflect.Message

func (*LogResponse) Reset

func (x *LogResponse) Reset()

func (*LogResponse) String

func (x *LogResponse) String() string

type Loglevel

type Loglevel struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Level uint32 `protobuf:"varint,2,opt,name=level,proto3" json:"level,omitempty"`
	// contains filtered or unexported fields
}

func (*Loglevel) Descriptor deprecated

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

Deprecated: Use Loglevel.ProtoReflect.Descriptor instead.

func (*Loglevel) GetLevel

func (x *Loglevel) GetLevel() uint32

func (*Loglevel) GetName

func (x *Loglevel) GetName() string

func (*Loglevel) ProtoMessage

func (*Loglevel) ProtoMessage()

func (*Loglevel) ProtoReflect

func (x *Loglevel) ProtoReflect() protoreflect.Message

func (*Loglevel) Reset

func (x *Loglevel) Reset()

func (*Loglevel) String

func (x *Loglevel) String() string

type Material

type Material struct {

	//物料id
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 物料类型ID
	TypeID uint32 `protobuf:"varint,2,opt,name=typeID,proto3" json:"typeID,omitempty"`
	// 物料名称
	TypeName   string        `protobuf:"bytes,3,opt,name=typeName,proto3" json:"typeName,omitempty"`
	Properties string        `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"`
	Type       *MaterialType `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	CellID     uint32        `protobuf:"varint,6,opt,name=cellID,proto3" json:"cellID,omitempty"`
	// contains filtered or unexported fields
}

func (*Material) Descriptor deprecated

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

Deprecated: Use Material.ProtoReflect.Descriptor instead.

func (*Material) GetCellID

func (x *Material) GetCellID() uint32

func (*Material) GetId

func (x *Material) GetId() int64

func (*Material) GetProperties

func (x *Material) GetProperties() string

func (*Material) GetType

func (x *Material) GetType() *MaterialType

func (*Material) GetTypeID

func (x *Material) GetTypeID() uint32

func (*Material) GetTypeName

func (x *Material) GetTypeName() string

func (*Material) ProtoMessage

func (*Material) ProtoMessage()

func (*Material) ProtoReflect

func (x *Material) ProtoReflect() protoreflect.Message

func (*Material) Reset

func (x *Material) Reset()

func (*Material) String

func (x *Material) String() string

type MaterialFilter

type MaterialFilter struct {
	And         []*MaterialFilter     `protobuf:"bytes,1,rep,name=and,proto3" json:"and,omitempty"`
	Or          []*MaterialFilter     `protobuf:"bytes,2,rep,name=or,proto3" json:"or,omitempty"`
	IdIn        []int64               `protobuf:"varint,3,rep,packed,name=idIn,proto3" json:"idIn,omitempty"`
	Properties  []*PropertyFilter     `protobuf:"bytes,4,rep,name=properties,proto3" json:"properties,omitempty"`
	TypeID      *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=typeID,proto3" json:"typeID,omitempty"`
	TypeIDIn    []uint32              `protobuf:"varint,6,rep,packed,name=typeIDIn,proto3" json:"typeIDIn,omitempty"`
	CellID      *wrappers.UInt32Value `protobuf:"bytes,7,opt,name=cellID,proto3" json:"cellID,omitempty"`
	CellIDIn    []uint32              `protobuf:"varint,8,rep,packed,name=cellIDIn,proto3" json:"cellIDIn,omitempty"`
	CellIDNotIn []uint32              `protobuf:"varint,9,rep,packed,name=cellIDNotIn,proto3" json:"cellIDNotIn,omitempty"`
	// contains filtered or unexported fields
}

func (*MaterialFilter) Descriptor deprecated

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

Deprecated: Use MaterialFilter.ProtoReflect.Descriptor instead.

func (*MaterialFilter) GetAnd

func (x *MaterialFilter) GetAnd() []*MaterialFilter

func (*MaterialFilter) GetCellID

func (x *MaterialFilter) GetCellID() *wrappers.UInt32Value

func (*MaterialFilter) GetCellIDIn

func (x *MaterialFilter) GetCellIDIn() []uint32

func (*MaterialFilter) GetCellIDNotIn

func (x *MaterialFilter) GetCellIDNotIn() []uint32

func (*MaterialFilter) GetIdIn

func (x *MaterialFilter) GetIdIn() []int64

func (*MaterialFilter) GetOr

func (x *MaterialFilter) GetOr() []*MaterialFilter

func (*MaterialFilter) GetProperties

func (x *MaterialFilter) GetProperties() []*PropertyFilter

func (*MaterialFilter) GetTypeID

func (x *MaterialFilter) GetTypeID() *wrappers.UInt32Value

func (*MaterialFilter) GetTypeIDIn

func (x *MaterialFilter) GetTypeIDIn() []uint32

func (*MaterialFilter) ProtoMessage

func (*MaterialFilter) ProtoMessage()

func (*MaterialFilter) ProtoReflect

func (x *MaterialFilter) ProtoReflect() protoreflect.Message

func (*MaterialFilter) Reset

func (x *MaterialFilter) Reset()

func (*MaterialFilter) String

func (x *MaterialFilter) String() string

type MaterialIDReq

type MaterialIDReq struct {

	//物料ID
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MaterialIDReq) Descriptor deprecated

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

Deprecated: Use MaterialIDReq.ProtoReflect.Descriptor instead.

func (*MaterialIDReq) GetId

func (x *MaterialIDReq) GetId() int64

func (*MaterialIDReq) ProtoMessage

func (*MaterialIDReq) ProtoMessage()

func (*MaterialIDReq) ProtoReflect

func (x *MaterialIDReq) ProtoReflect() protoreflect.Message

func (*MaterialIDReq) Reset

func (x *MaterialIDReq) Reset()

func (*MaterialIDReq) String

func (x *MaterialIDReq) String() string

type MaterialIDsReq

type MaterialIDsReq struct {

	//物料ID
	Ids []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*MaterialIDsReq) Descriptor deprecated

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

Deprecated: Use MaterialIDsReq.ProtoReflect.Descriptor instead.

func (*MaterialIDsReq) GetIds

func (x *MaterialIDsReq) GetIds() []int64

func (*MaterialIDsReq) ProtoMessage

func (*MaterialIDsReq) ProtoMessage()

func (*MaterialIDsReq) ProtoReflect

func (x *MaterialIDsReq) ProtoReflect() protoreflect.Message

func (*MaterialIDsReq) Reset

func (x *MaterialIDsReq) Reset()

func (*MaterialIDsReq) String

func (x *MaterialIDsReq) String() string

type MaterialQuery

type MaterialQuery struct {
	Limit   uint32          `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset  uint32          `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Page    uint32          `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	PerPage uint32          `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"`
	Filter  *MaterialFilter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*MaterialQuery) Descriptor deprecated

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

Deprecated: Use MaterialQuery.ProtoReflect.Descriptor instead.

func (*MaterialQuery) GetFilter

func (x *MaterialQuery) GetFilter() *MaterialFilter

func (*MaterialQuery) GetLimit

func (x *MaterialQuery) GetLimit() uint32

func (*MaterialQuery) GetOffset

func (x *MaterialQuery) GetOffset() uint32

func (*MaterialQuery) GetPage

func (x *MaterialQuery) GetPage() uint32

func (*MaterialQuery) GetPerPage

func (x *MaterialQuery) GetPerPage() uint32

func (*MaterialQuery) ProtoMessage

func (*MaterialQuery) ProtoMessage()

func (*MaterialQuery) ProtoReflect

func (x *MaterialQuery) ProtoReflect() protoreflect.Message

func (*MaterialQuery) Reset

func (x *MaterialQuery) Reset()

func (*MaterialQuery) String

func (x *MaterialQuery) String() string

type MaterialRecord

type MaterialRecord struct {
	Material  *Material `protobuf:"bytes,1,opt,name=material,proto3" json:"material,omitempty"`
	StartTime string    `protobuf:"bytes,2,opt,name=startTime,proto3" json:"startTime,omitempty"`
	EndTime   string    `protobuf:"bytes,3,opt,name=endTime,proto3" json:"endTime,omitempty"`
	// contains filtered or unexported fields
}

func (*MaterialRecord) Descriptor deprecated

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

Deprecated: Use MaterialRecord.ProtoReflect.Descriptor instead.

func (*MaterialRecord) GetEndTime

func (x *MaterialRecord) GetEndTime() string

func (*MaterialRecord) GetMaterial

func (x *MaterialRecord) GetMaterial() *Material

func (*MaterialRecord) GetStartTime

func (x *MaterialRecord) GetStartTime() string

func (*MaterialRecord) ProtoMessage

func (*MaterialRecord) ProtoMessage()

func (*MaterialRecord) ProtoReflect

func (x *MaterialRecord) ProtoReflect() protoreflect.Message

func (*MaterialRecord) Reset

func (x *MaterialRecord) Reset()

func (*MaterialRecord) String

func (x *MaterialRecord) String() string

type MaterialRecords

type MaterialRecords struct {
	Records    []*MaterialRecord `protobuf:"bytes,1,rep,name=records,proto3" json:"records,omitempty"`
	TotalCount uint32            `protobuf:"varint,2,opt,name=totalCount,proto3" json:"totalCount,omitempty"`
	// contains filtered or unexported fields
}

func (*MaterialRecords) Descriptor deprecated

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

Deprecated: Use MaterialRecords.ProtoReflect.Descriptor instead.

func (*MaterialRecords) GetRecords

func (x *MaterialRecords) GetRecords() []*MaterialRecord

func (*MaterialRecords) GetTotalCount

func (x *MaterialRecords) GetTotalCount() uint32

func (*MaterialRecords) ProtoMessage

func (*MaterialRecords) ProtoMessage()

func (*MaterialRecords) ProtoReflect

func (x *MaterialRecords) ProtoReflect() protoreflect.Message

func (*MaterialRecords) Reset

func (x *MaterialRecords) Reset()

func (*MaterialRecords) String

func (x *MaterialRecords) String() string

type MaterialService

type MaterialService interface {
	// 添加物料类型
	AddMaterialType(ctx context.Context, in *MaterialType, opts ...client.CallOption) (*Response, error)
	// 移除物料类型
	DeleteMaterialType(ctx context.Context, in *MaterialTypeIDReq, opts ...client.CallOption) (*Response, error)
	// 更新物料类型
	UpdateMaterialType(ctx context.Context, in *UpdateMaterialTypeReq, opts ...client.CallOption) (*Response, error)
	// 根据查询条件获取物料类型列表
	GetMaterialTypes(ctx context.Context, in *MaterialTypeQuery, opts ...client.CallOption) (*MaterialTypesResp, error)
	// 根据ID获取指定的物料类型
	GetMaterialType(ctx context.Context, in *MaterialTypeIDReq, opts ...client.CallOption) (*MaterialType, error)
	// 获取出入库记录
	GetRecord(ctx context.Context, in *RecordQuery, opts ...client.CallOption) (*MaterialRecords, error)
	// 添加物料
	AddMaterial(ctx context.Context, in *Material, opts ...client.CallOption) (*Response, error)
	// 移除物料
	DeleteMaterial(ctx context.Context, in *MaterialIDReq, opts ...client.CallOption) (*Response, error)
	// 更新物料
	UpdateMaterial(ctx context.Context, in *UpdateMaterialReq, opts ...client.CallOption) (*Response, error)
	// 根据查询条件获取物料信息
	GetMaterials(ctx context.Context, in *MaterialQuery, opts ...client.CallOption) (*MaterialsResp, error)
	// 根据ID获取指定的物料类型
	GetMaterial(ctx context.Context, in *MaterialIDReq, opts ...client.CallOption) (*Material, error)
	BatchAddMaterials(ctx context.Context, in *Materials, opts ...client.CallOption) (*Response, error)
	BatchDeleteMaterials(ctx context.Context, in *MaterialIDsReq, opts ...client.CallOption) (*Response, error)
	// 添加物料
	BindCell(ctx context.Context, in *CellReq, opts ...client.CallOption) (*Response, error)
	// 移除物料
	UnbindCell(ctx context.Context, in *MaterialIDReq, opts ...client.CallOption) (*Response, error)
	// rpc AddMaterialProperties(Material) returns(Response);
	// rpc DeleteAddMaterialProperties()
	//获取服务日志等级
	GetLogLevel(ctx context.Context, in *LogLevelRequest, opts ...client.CallOption) (*Loglevel, error)
	//设置服务日志等级
	SetLogLevel(ctx context.Context, in *Loglevel, opts ...client.CallOption) (*LogResponse, error)
}

func NewMaterialService

func NewMaterialService(name string, c client.Client) MaterialService

type MaterialServiceHandler

type MaterialServiceHandler interface {
	// 添加物料类型
	AddMaterialType(context.Context, *MaterialType, *Response) error
	// 移除物料类型
	DeleteMaterialType(context.Context, *MaterialTypeIDReq, *Response) error
	// 更新物料类型
	UpdateMaterialType(context.Context, *UpdateMaterialTypeReq, *Response) error
	// 根据查询条件获取物料类型列表
	GetMaterialTypes(context.Context, *MaterialTypeQuery, *MaterialTypesResp) error
	// 根据ID获取指定的物料类型
	GetMaterialType(context.Context, *MaterialTypeIDReq, *MaterialType) error
	// 获取出入库记录
	GetRecord(context.Context, *RecordQuery, *MaterialRecords) error
	// 添加物料
	AddMaterial(context.Context, *Material, *Response) error
	// 移除物料
	DeleteMaterial(context.Context, *MaterialIDReq, *Response) error
	// 更新物料
	UpdateMaterial(context.Context, *UpdateMaterialReq, *Response) error
	// 根据查询条件获取物料信息
	GetMaterials(context.Context, *MaterialQuery, *MaterialsResp) error
	// 根据ID获取指定的物料类型
	GetMaterial(context.Context, *MaterialIDReq, *Material) error
	BatchAddMaterials(context.Context, *Materials, *Response) error
	BatchDeleteMaterials(context.Context, *MaterialIDsReq, *Response) error
	// 添加物料
	BindCell(context.Context, *CellReq, *Response) error
	// 移除物料
	UnbindCell(context.Context, *MaterialIDReq, *Response) error
	// rpc AddMaterialProperties(Material) returns(Response);
	// rpc DeleteAddMaterialProperties()
	//获取服务日志等级
	GetLogLevel(context.Context, *LogLevelRequest, *Loglevel) error
	//设置服务日志等级
	SetLogLevel(context.Context, *Loglevel, *LogResponse) error
}

type MaterialType

type MaterialType struct {
	Id          uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// repeated Property properties = 5;
	Properties string `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*MaterialType) Descriptor deprecated

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

Deprecated: Use MaterialType.ProtoReflect.Descriptor instead.

func (*MaterialType) GetDescription

func (x *MaterialType) GetDescription() string

func (*MaterialType) GetId

func (x *MaterialType) GetId() uint32

func (*MaterialType) GetName

func (x *MaterialType) GetName() string

func (*MaterialType) GetProperties

func (x *MaterialType) GetProperties() string

func (*MaterialType) ProtoMessage

func (*MaterialType) ProtoMessage()

func (*MaterialType) ProtoReflect

func (x *MaterialType) ProtoReflect() protoreflect.Message

func (*MaterialType) Reset

func (x *MaterialType) Reset()

func (*MaterialType) String

func (x *MaterialType) String() string

type MaterialTypeFilter

type MaterialTypeFilter struct {
	And    []*MaterialTypeFilter `protobuf:"bytes,1,rep,name=and,proto3" json:"and,omitempty"`
	Or     []*MaterialTypeFilter `protobuf:"bytes,2,rep,name=or,proto3" json:"or,omitempty"`
	IdIn   []uint32              `protobuf:"varint,3,rep,packed,name=idIn,proto3" json:"idIn,omitempty"`
	NameIn []string              `protobuf:"bytes,4,rep,name=nameIn,proto3" json:"nameIn,omitempty"`
	Id     *wrappers.UInt32Value `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
	Name   *wrappers.StringValue `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

func (*MaterialTypeFilter) Descriptor deprecated

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

Deprecated: Use MaterialTypeFilter.ProtoReflect.Descriptor instead.

func (*MaterialTypeFilter) GetAnd

func (x *MaterialTypeFilter) GetAnd() []*MaterialTypeFilter

func (*MaterialTypeFilter) GetId

func (*MaterialTypeFilter) GetIdIn

func (x *MaterialTypeFilter) GetIdIn() []uint32

func (*MaterialTypeFilter) GetName

func (x *MaterialTypeFilter) GetName() *wrappers.StringValue

func (*MaterialTypeFilter) GetNameIn

func (x *MaterialTypeFilter) GetNameIn() []string

func (*MaterialTypeFilter) GetOr

func (x *MaterialTypeFilter) GetOr() []*MaterialTypeFilter

func (*MaterialTypeFilter) ProtoMessage

func (*MaterialTypeFilter) ProtoMessage()

func (*MaterialTypeFilter) ProtoReflect

func (x *MaterialTypeFilter) ProtoReflect() protoreflect.Message

func (*MaterialTypeFilter) Reset

func (x *MaterialTypeFilter) Reset()

func (*MaterialTypeFilter) String

func (x *MaterialTypeFilter) String() string

type MaterialTypeIDReq

type MaterialTypeIDReq struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*MaterialTypeIDReq) Descriptor deprecated

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

Deprecated: Use MaterialTypeIDReq.ProtoReflect.Descriptor instead.

func (*MaterialTypeIDReq) GetId

func (x *MaterialTypeIDReq) GetId() uint32

func (*MaterialTypeIDReq) ProtoMessage

func (*MaterialTypeIDReq) ProtoMessage()

func (*MaterialTypeIDReq) ProtoReflect

func (x *MaterialTypeIDReq) ProtoReflect() protoreflect.Message

func (*MaterialTypeIDReq) Reset

func (x *MaterialTypeIDReq) Reset()

func (*MaterialTypeIDReq) String

func (x *MaterialTypeIDReq) String() string

type MaterialTypeQuery

type MaterialTypeQuery struct {
	Limit   uint32              `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset  uint32              `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	Page    uint32              `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"`
	PerPage uint32              `protobuf:"varint,4,opt,name=perPage,proto3" json:"perPage,omitempty"`
	Filter  *MaterialTypeFilter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
	// contains filtered or unexported fields
}

func (*MaterialTypeQuery) Descriptor deprecated

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

Deprecated: Use MaterialTypeQuery.ProtoReflect.Descriptor instead.

func (*MaterialTypeQuery) GetFilter

func (x *MaterialTypeQuery) GetFilter() *MaterialTypeFilter

func (*MaterialTypeQuery) GetLimit

func (x *MaterialTypeQuery) GetLimit() uint32

func (*MaterialTypeQuery) GetOffset

func (x *MaterialTypeQuery) GetOffset() uint32

func (*MaterialTypeQuery) GetPage

func (x *MaterialTypeQuery) GetPage() uint32

func (*MaterialTypeQuery) GetPerPage

func (x *MaterialTypeQuery) GetPerPage() uint32

func (*MaterialTypeQuery) ProtoMessage

func (*MaterialTypeQuery) ProtoMessage()

func (*MaterialTypeQuery) ProtoReflect

func (x *MaterialTypeQuery) ProtoReflect() protoreflect.Message

func (*MaterialTypeQuery) Reset

func (x *MaterialTypeQuery) Reset()

func (*MaterialTypeQuery) String

func (x *MaterialTypeQuery) String() string

type MaterialTypesResp

type MaterialTypesResp struct {
	MaterialTypes []*MaterialType `protobuf:"bytes,1,rep,name=materialTypes,proto3" json:"materialTypes,omitempty"`
	Totalpages    uint32          `protobuf:"varint,2,opt,name=totalpages,proto3" json:"totalpages,omitempty"`
	Totals        uint32          `protobuf:"varint,3,opt,name=totals,proto3" json:"totals,omitempty"`
	// contains filtered or unexported fields
}

func (*MaterialTypesResp) Descriptor deprecated

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

Deprecated: Use MaterialTypesResp.ProtoReflect.Descriptor instead.

func (*MaterialTypesResp) GetMaterialTypes

func (x *MaterialTypesResp) GetMaterialTypes() []*MaterialType

func (*MaterialTypesResp) GetTotalpages

func (x *MaterialTypesResp) GetTotalpages() uint32

func (*MaterialTypesResp) GetTotals

func (x *MaterialTypesResp) GetTotals() uint32

func (*MaterialTypesResp) ProtoMessage

func (*MaterialTypesResp) ProtoMessage()

func (*MaterialTypesResp) ProtoReflect

func (x *MaterialTypesResp) ProtoReflect() protoreflect.Message

func (*MaterialTypesResp) Reset

func (x *MaterialTypesResp) Reset()

func (*MaterialTypesResp) String

func (x *MaterialTypesResp) String() string

type Materials

type Materials struct {
	Materials []*Material `protobuf:"bytes,1,rep,name=materials,proto3" json:"materials,omitempty"`
	// contains filtered or unexported fields
}

func (*Materials) Descriptor deprecated

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

Deprecated: Use Materials.ProtoReflect.Descriptor instead.

func (*Materials) GetMaterials

func (x *Materials) GetMaterials() []*Material

func (*Materials) ProtoMessage

func (*Materials) ProtoMessage()

func (*Materials) ProtoReflect

func (x *Materials) ProtoReflect() protoreflect.Message

func (*Materials) Reset

func (x *Materials) Reset()

func (*Materials) String

func (x *Materials) String() string

type MaterialsResp

type MaterialsResp struct {
	Materials  []*Material `protobuf:"bytes,1,rep,name=materials,proto3" json:"materials,omitempty"`
	Totalpages uint32      `protobuf:"varint,2,opt,name=totalpages,proto3" json:"totalpages,omitempty"`
	Totals     uint32      `protobuf:"varint,3,opt,name=totals,proto3" json:"totals,omitempty"`
	// contains filtered or unexported fields
}

func (*MaterialsResp) Descriptor deprecated

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

Deprecated: Use MaterialsResp.ProtoReflect.Descriptor instead.

func (*MaterialsResp) GetMaterials

func (x *MaterialsResp) GetMaterials() []*Material

func (*MaterialsResp) GetTotalpages

func (x *MaterialsResp) GetTotalpages() uint32

func (*MaterialsResp) GetTotals

func (x *MaterialsResp) GetTotals() uint32

func (*MaterialsResp) ProtoMessage

func (*MaterialsResp) ProtoMessage()

func (*MaterialsResp) ProtoReflect

func (x *MaterialsResp) ProtoReflect() protoreflect.Message

func (*MaterialsResp) Reset

func (x *MaterialsResp) Reset()

func (*MaterialsResp) String

func (x *MaterialsResp) String() string

type PropertyFilter

type PropertyFilter struct {
	Key     string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value   string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Type    string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	IsFuzzy bool   `protobuf:"varint,3,opt,name=isFuzzy,proto3" json:"isFuzzy,omitempty"`
	// contains filtered or unexported fields
}

func (*PropertyFilter) Descriptor deprecated

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

Deprecated: Use PropertyFilter.ProtoReflect.Descriptor instead.

func (*PropertyFilter) GetIsFuzzy

func (x *PropertyFilter) GetIsFuzzy() bool

func (*PropertyFilter) GetKey

func (x *PropertyFilter) GetKey() string

func (*PropertyFilter) GetType

func (x *PropertyFilter) GetType() string

func (*PropertyFilter) GetValue

func (x *PropertyFilter) GetValue() string

func (*PropertyFilter) ProtoMessage

func (*PropertyFilter) ProtoMessage()

func (*PropertyFilter) ProtoReflect

func (x *PropertyFilter) ProtoReflect() protoreflect.Message

func (*PropertyFilter) Reset

func (x *PropertyFilter) Reset()

func (*PropertyFilter) String

func (x *PropertyFilter) String() string

type RecordQuery

type RecordQuery struct {
	Page      uint32                `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`
	PerPage   uint32                `protobuf:"varint,2,opt,name=perPage,proto3" json:"perPage,omitempty"`
	StartTime *wrappers.StringValue `protobuf:"bytes,3,opt,name=startTime,proto3" json:"startTime,omitempty"`
	EndTime   *wrappers.StringValue `protobuf:"bytes,4,opt,name=endTime,proto3" json:"endTime,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordQuery) Descriptor deprecated

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

Deprecated: Use RecordQuery.ProtoReflect.Descriptor instead.

func (*RecordQuery) GetEndTime

func (x *RecordQuery) GetEndTime() *wrappers.StringValue

func (*RecordQuery) GetPage

func (x *RecordQuery) GetPage() uint32

func (*RecordQuery) GetPerPage

func (x *RecordQuery) GetPerPage() uint32

func (*RecordQuery) GetStartTime

func (x *RecordQuery) GetStartTime() *wrappers.StringValue

func (*RecordQuery) ProtoMessage

func (*RecordQuery) ProtoMessage()

func (*RecordQuery) ProtoReflect

func (x *RecordQuery) ProtoReflect() protoreflect.Message

func (*RecordQuery) Reset

func (x *RecordQuery) Reset()

func (*RecordQuery) String

func (x *RecordQuery) String() string

type Response

type Response struct {

	//物料id 所有数据库唯一
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*Response) Descriptor deprecated

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

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetId

func (x *Response) GetId() int64

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

type UpdateMaterial

type UpdateMaterial struct {
	Properties string `protobuf:"bytes,1,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMaterial) Descriptor deprecated

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

Deprecated: Use UpdateMaterial.ProtoReflect.Descriptor instead.

func (*UpdateMaterial) GetProperties

func (x *UpdateMaterial) GetProperties() string

func (*UpdateMaterial) ProtoMessage

func (*UpdateMaterial) ProtoMessage()

func (*UpdateMaterial) ProtoReflect

func (x *UpdateMaterial) ProtoReflect() protoreflect.Message

func (*UpdateMaterial) Reset

func (x *UpdateMaterial) Reset()

func (*UpdateMaterial) String

func (x *UpdateMaterial) String() string

type UpdateMaterialReq

type UpdateMaterialReq struct {
	Id       int64           `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Material *UpdateMaterial `protobuf:"bytes,2,opt,name=material,proto3" json:"material,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMaterialReq) Descriptor deprecated

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

Deprecated: Use UpdateMaterialReq.ProtoReflect.Descriptor instead.

func (*UpdateMaterialReq) GetId

func (x *UpdateMaterialReq) GetId() int64

func (*UpdateMaterialReq) GetMaterial

func (x *UpdateMaterialReq) GetMaterial() *UpdateMaterial

func (*UpdateMaterialReq) ProtoMessage

func (*UpdateMaterialReq) ProtoMessage()

func (*UpdateMaterialReq) ProtoReflect

func (x *UpdateMaterialReq) ProtoReflect() protoreflect.Message

func (*UpdateMaterialReq) Reset

func (x *UpdateMaterialReq) Reset()

func (*UpdateMaterialReq) String

func (x *UpdateMaterialReq) String() string

type UpdateMaterialType

type UpdateMaterialType struct {
	Name        *wrappers.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description *wrappers.StringValue `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Properties  string                `protobuf:"bytes,4,opt,name=properties,proto3" json:"properties,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMaterialType) Descriptor deprecated

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

Deprecated: Use UpdateMaterialType.ProtoReflect.Descriptor instead.

func (*UpdateMaterialType) GetDescription

func (x *UpdateMaterialType) GetDescription() *wrappers.StringValue

func (*UpdateMaterialType) GetName

func (x *UpdateMaterialType) GetName() *wrappers.StringValue

func (*UpdateMaterialType) GetProperties

func (x *UpdateMaterialType) GetProperties() string

func (*UpdateMaterialType) ProtoMessage

func (*UpdateMaterialType) ProtoMessage()

func (*UpdateMaterialType) ProtoReflect

func (x *UpdateMaterialType) ProtoReflect() protoreflect.Message

func (*UpdateMaterialType) Reset

func (x *UpdateMaterialType) Reset()

func (*UpdateMaterialType) String

func (x *UpdateMaterialType) String() string

type UpdateMaterialTypeReq

type UpdateMaterialTypeReq struct {
	Id           uint32              `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	MaterialType *UpdateMaterialType `protobuf:"bytes,2,opt,name=materialType,proto3" json:"materialType,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateMaterialTypeReq) Descriptor deprecated

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

Deprecated: Use UpdateMaterialTypeReq.ProtoReflect.Descriptor instead.

func (*UpdateMaterialTypeReq) GetId

func (x *UpdateMaterialTypeReq) GetId() uint32

func (*UpdateMaterialTypeReq) GetMaterialType

func (x *UpdateMaterialTypeReq) GetMaterialType() *UpdateMaterialType

func (*UpdateMaterialTypeReq) ProtoMessage

func (*UpdateMaterialTypeReq) ProtoMessage()

func (*UpdateMaterialTypeReq) ProtoReflect

func (x *UpdateMaterialTypeReq) ProtoReflect() protoreflect.Message

func (*UpdateMaterialTypeReq) Reset

func (x *UpdateMaterialTypeReq) Reset()

func (*UpdateMaterialTypeReq) String

func (x *UpdateMaterialTypeReq) String() string

Jump to

Keyboard shortcuts

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