// Code generated by protoc-gen-go. DO NOT EDIT.
// source: board.proto

package types

import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

type AutonomyProposalBoard struct {
	PropBoard *ProposalBoard `protobuf:"bytes,1,opt,name=propBoard" json:"propBoard,omitempty"`
	// 投票该提案的规则
	CurRule *RuleConfig `protobuf:"bytes,2,opt,name=curRule" json:"curRule,omitempty"`
	// 全体持票人投票结果
	VoteResult *VoteResult `protobuf:"bytes,3,opt,name=voteResult" json:"voteResult,omitempty"`
	// 状态
	Status  int32  `protobuf:"varint,4,opt,name=status" json:"status,omitempty"`
	Address string `protobuf:"bytes,5,opt,name=address" json:"address,omitempty"`
	Height  int64  `protobuf:"varint,6,opt,name=height" json:"height,omitempty"`
	Index   int32  `protobuf:"varint,7,opt,name=index" json:"index,omitempty"`
}

func (m *AutonomyProposalBoard) Reset()                    { *m = AutonomyProposalBoard{} }
func (m *AutonomyProposalBoard) String() string            { return proto.CompactTextString(m) }
func (*AutonomyProposalBoard) ProtoMessage()               {}
func (*AutonomyProposalBoard) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }

func (m *AutonomyProposalBoard) GetPropBoard() *ProposalBoard {
	if m != nil {
		return m.PropBoard
	}
	return nil
}

func (m *AutonomyProposalBoard) GetCurRule() *RuleConfig {
	if m != nil {
		return m.CurRule
	}
	return nil
}

func (m *AutonomyProposalBoard) GetVoteResult() *VoteResult {
	if m != nil {
		return m.VoteResult
	}
	return nil
}

func (m *AutonomyProposalBoard) GetStatus() int32 {
	if m != nil {
		return m.Status
	}
	return 0
}

func (m *AutonomyProposalBoard) GetAddress() string {
	if m != nil {
		return m.Address
	}
	return ""
}

func (m *AutonomyProposalBoard) GetHeight() int64 {
	if m != nil {
		return m.Height
	}
	return 0
}

func (m *AutonomyProposalBoard) GetIndex() int32 {
	if m != nil {
		return m.Index
	}
	return 0
}

// action
type ProposalBoard struct {
	// 提案时间
	Year  int32 `protobuf:"varint,1,opt,name=year" json:"year,omitempty"`
	Month int32 `protobuf:"varint,2,opt,name=month" json:"month,omitempty"`
	Day   int32 `protobuf:"varint,3,opt,name=day" json:"day,omitempty"`
	// 提案董事会成员
	Boards []string `protobuf:"bytes,4,rep,name=boards" json:"boards,omitempty"`
	// 投票相关
	StartBlockHeight   int64 `protobuf:"varint,5,opt,name=startBlockHeight" json:"startBlockHeight,omitempty"`
	EndBlockHeight     int64 `protobuf:"varint,6,opt,name=endBlockHeight" json:"endBlockHeight,omitempty"`
	RealEndBlockHeight int64 `protobuf:"varint,7,opt,name=realEndBlockHeight" json:"realEndBlockHeight,omitempty"`
}

func (m *ProposalBoard) Reset()                    { *m = ProposalBoard{} }
func (m *ProposalBoard) String() string            { return proto.CompactTextString(m) }
func (*ProposalBoard) ProtoMessage()               {}
func (*ProposalBoard) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }

func (m *ProposalBoard) GetYear() int32 {
	if m != nil {
		return m.Year
	}
	return 0
}

func (m *ProposalBoard) GetMonth() int32 {
	if m != nil {
		return m.Month
	}
	return 0
}

func (m *ProposalBoard) GetDay() int32 {
	if m != nil {
		return m.Day
	}
	return 0
}

func (m *ProposalBoard) GetBoards() []string {
	if m != nil {
		return m.Boards
	}
	return nil
}

func (m *ProposalBoard) GetStartBlockHeight() int64 {
	if m != nil {
		return m.StartBlockHeight
	}
	return 0
}

func (m *ProposalBoard) GetEndBlockHeight() int64 {
	if m != nil {
		return m.EndBlockHeight
	}
	return 0
}

func (m *ProposalBoard) GetRealEndBlockHeight() int64 {
	if m != nil {
		return m.RealEndBlockHeight
	}
	return 0
}

type RevokeProposalBoard struct {
	ProposalID string `protobuf:"bytes,1,opt,name=proposalID" json:"proposalID,omitempty"`
}

func (m *RevokeProposalBoard) Reset()                    { *m = RevokeProposalBoard{} }
func (m *RevokeProposalBoard) String() string            { return proto.CompactTextString(m) }
func (*RevokeProposalBoard) ProtoMessage()               {}
func (*RevokeProposalBoard) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }

func (m *RevokeProposalBoard) GetProposalID() string {
	if m != nil {
		return m.ProposalID
	}
	return ""
}

type VoteProposalBoard struct {
	ProposalID string `protobuf:"bytes,1,opt,name=proposalID" json:"proposalID,omitempty"`
	Approve    bool   `protobuf:"varint,2,opt,name=approve" json:"approve,omitempty"`
}

func (m *VoteProposalBoard) Reset()                    { *m = VoteProposalBoard{} }
func (m *VoteProposalBoard) String() string            { return proto.CompactTextString(m) }
func (*VoteProposalBoard) ProtoMessage()               {}
func (*VoteProposalBoard) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }

func (m *VoteProposalBoard) GetProposalID() string {
	if m != nil {
		return m.ProposalID
	}
	return ""
}

func (m *VoteProposalBoard) GetApprove() bool {
	if m != nil {
		return m.Approve
	}
	return false
}

type TerminateProposalBoard struct {
	ProposalID string `protobuf:"bytes,1,opt,name=proposalID" json:"proposalID,omitempty"`
}

func (m *TerminateProposalBoard) Reset()                    { *m = TerminateProposalBoard{} }
func (m *TerminateProposalBoard) String() string            { return proto.CompactTextString(m) }
func (*TerminateProposalBoard) ProtoMessage()               {}
func (*TerminateProposalBoard) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{4} }

func (m *TerminateProposalBoard) GetProposalID() string {
	if m != nil {
		return m.ProposalID
	}
	return ""
}

// receipt
type ReceiptProposalBoard struct {
	Prev    *AutonomyProposalBoard `protobuf:"bytes,1,opt,name=prev" json:"prev,omitempty"`
	Current *AutonomyProposalBoard `protobuf:"bytes,2,opt,name=current" json:"current,omitempty"`
}

func (m *ReceiptProposalBoard) Reset()                    { *m = ReceiptProposalBoard{} }
func (m *ReceiptProposalBoard) String() string            { return proto.CompactTextString(m) }
func (*ReceiptProposalBoard) ProtoMessage()               {}
func (*ReceiptProposalBoard) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{5} }

func (m *ReceiptProposalBoard) GetPrev() *AutonomyProposalBoard {
	if m != nil {
		return m.Prev
	}
	return nil
}

func (m *ReceiptProposalBoard) GetCurrent() *AutonomyProposalBoard {
	if m != nil {
		return m.Current
	}
	return nil
}

type LocalProposalBoard struct {
	PropBd   *AutonomyProposalBoard `protobuf:"bytes,1,opt,name=propBd" json:"propBd,omitempty"`
	Comments []string               `protobuf:"bytes,2,rep,name=comments" json:"comments,omitempty"`
}

func (m *LocalProposalBoard) Reset()                    { *m = LocalProposalBoard{} }
func (m *LocalProposalBoard) String() string            { return proto.CompactTextString(m) }
func (*LocalProposalBoard) ProtoMessage()               {}
func (*LocalProposalBoard) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{6} }

func (m *LocalProposalBoard) GetPropBd() *AutonomyProposalBoard {
	if m != nil {
		return m.PropBd
	}
	return nil
}

func (m *LocalProposalBoard) GetComments() []string {
	if m != nil {
		return m.Comments
	}
	return nil
}

// query
type ReqQueryProposalBoard struct {
	// 优先根据status查询
	Status    int32 `protobuf:"varint,1,opt,name=status" json:"status,omitempty"`
	Count     int32 `protobuf:"varint,2,opt,name=count" json:"count,omitempty"`
	Direction int32 `protobuf:"varint,3,opt,name=direction" json:"direction,omitempty"`
	Index     int64 `protobuf:"varint,4,opt,name=index" json:"index,omitempty"`
}

func (m *ReqQueryProposalBoard) Reset()                    { *m = ReqQueryProposalBoard{} }
func (m *ReqQueryProposalBoard) String() string            { return proto.CompactTextString(m) }
func (*ReqQueryProposalBoard) ProtoMessage()               {}
func (*ReqQueryProposalBoard) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{7} }

func (m *ReqQueryProposalBoard) GetStatus() int32 {
	if m != nil {
		return m.Status
	}
	return 0
}

func (m *ReqQueryProposalBoard) GetCount() int32 {
	if m != nil {
		return m.Count
	}
	return 0
}

func (m *ReqQueryProposalBoard) GetDirection() int32 {
	if m != nil {
		return m.Direction
	}
	return 0
}

func (m *ReqQueryProposalBoard) GetIndex() int64 {
	if m != nil {
		return m.Index
	}
	return 0
}

type ReplyQueryProposalBoard struct {
	ProBoards []*AutonomyProposalBoard `protobuf:"bytes,1,rep,name=proBoards" json:"proBoards,omitempty"`
}

func (m *ReplyQueryProposalBoard) Reset()                    { *m = ReplyQueryProposalBoard{} }
func (m *ReplyQueryProposalBoard) String() string            { return proto.CompactTextString(m) }
func (*ReplyQueryProposalBoard) ProtoMessage()               {}
func (*ReplyQueryProposalBoard) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{8} }

func (m *ReplyQueryProposalBoard) GetProBoards() []*AutonomyProposalBoard {
	if m != nil {
		return m.ProBoards
	}
	return nil
}

func init() {
	proto.RegisterType((*AutonomyProposalBoard)(nil), "types.AutonomyProposalBoard")
	proto.RegisterType((*ProposalBoard)(nil), "types.ProposalBoard")
	proto.RegisterType((*RevokeProposalBoard)(nil), "types.RevokeProposalBoard")
	proto.RegisterType((*VoteProposalBoard)(nil), "types.VoteProposalBoard")
	proto.RegisterType((*TerminateProposalBoard)(nil), "types.TerminateProposalBoard")
	proto.RegisterType((*ReceiptProposalBoard)(nil), "types.ReceiptProposalBoard")
	proto.RegisterType((*LocalProposalBoard)(nil), "types.LocalProposalBoard")
	proto.RegisterType((*ReqQueryProposalBoard)(nil), "types.ReqQueryProposalBoard")
	proto.RegisterType((*ReplyQueryProposalBoard)(nil), "types.ReplyQueryProposalBoard")
}

func init() { proto.RegisterFile("board.proto", fileDescriptor1) }

var fileDescriptor1 = []byte{
	// 523 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x5d, 0x6f, 0xd3, 0x30,
	0x14, 0x55, 0xda, 0xa6, 0x5d, 0xef, 0x34, 0xb4, 0x99, 0x6e, 0x44, 0xd3, 0x84, 0xaa, 0x3c, 0xa0,
	0x0a, 0xa4, 0x0a, 0xc6, 0x87, 0x10, 0x6f, 0x14, 0x90, 0x40, 0x02, 0x09, 0xae, 0x80, 0x77, 0x2f,
	0xb9, 0x5b, 0xa3, 0xa5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