// Code generated by protoc-gen-go. DO NOT EDIT.
// source: lcommon.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 VoteResult struct {
	// 总票数
	TotalVotes int32 `protobuf:"varint,1,opt,name=totalVotes" json:"totalVotes,omitempty"`
	// 赞成票
	ApproveVotes int32 `protobuf:"varint,2,opt,name=approveVotes" json:"approveVotes,omitempty"`
	// 反对票
	OpposeVotes int32 `protobuf:"varint,3,opt,name=opposeVotes" json:"opposeVotes,omitempty"`
	// 是否通过
	Pass bool `protobuf:"varint,4,opt,name=pass" json:"pass,omitempty"`
}

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

func (m *VoteResult) GetTotalVotes() int32 {
	if m != nil {
		return m.TotalVotes
	}
	return 0
}

func (m *VoteResult) GetApproveVotes() int32 {
	if m != nil {
		return m.ApproveVotes
	}
	return 0
}

func (m *VoteResult) GetOpposeVotes() int32 {
	if m != nil {
		return m.OpposeVotes
	}
	return 0
}

func (m *VoteResult) GetPass() bool {
	if m != nil {
		return m.Pass
	}
	return false
}

type PublicVote struct {
	// 是否需要公示
	Publicity bool `protobuf:"varint,1,opt,name=publicity" json:"publicity,omitempty"`
	// 总票数
	TotalVotes int32 `protobuf:"varint,2,opt,name=totalVotes" json:"totalVotes,omitempty"`
	// 全体持票人反对票
	OpposeVotes int32 `protobuf:"varint,3,opt,name=opposeVotes" json:"opposeVotes,omitempty"`
	// 是否通过
	PubPass bool `protobuf:"varint,4,opt,name=pubPass" json:"pubPass,omitempty"`
}

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

func (m *PublicVote) GetPublicity() bool {
	if m != nil {
		return m.Publicity
	}
	return false
}

func (m *PublicVote) GetTotalVotes() int32 {
	if m != nil {
		return m.TotalVotes
	}
	return 0
}

func (m *PublicVote) GetOpposeVotes() int32 {
	if m != nil {
		return m.OpposeVotes
	}
	return 0
}

func (m *PublicVote) GetPubPass() bool {
	if m != nil {
		return m.PubPass
	}
	return false
}

type VotesRecord struct {
	Address []string `protobuf:"bytes,1,rep,name=address" json:"address,omitempty"`
}

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

func (m *VotesRecord) GetAddress() []string {
	if m != nil {
		return m.Address
	}
	return nil
}

type RuleConfig struct {
	// 董事会成员参与率,以%为单位,只保留整数部分
	BoardAttendRatio int32 `protobuf:"varint,1,opt,name=boardAttendRatio" json:"boardAttendRatio,omitempty"`
	// 董事会成员赞成率
	BoardApproveRatio int32 `protobuf:"varint,2,opt,name=boardApproveRatio" json:"boardApproveRatio,omitempty"`
	// 全体持票人否决率
	PubOpposeRatio int32 `protobuf:"varint,3,opt,name=pubOpposeRatio" json:"pubOpposeRatio,omitempty"`
	// 提案金额
	ProposalAmount int64 `protobuf:"varint,4,opt,name=proposalAmount" json:"proposalAmount,omitempty"`
	// 重大项目公示金额阈值
	LargeProjectAmount int64 `protobuf:"varint,5,opt,name=largeProjectAmount" json:"largeProjectAmount,omitempty"`
}

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

func (m *RuleConfig) GetBoardAttendRatio() int32 {
	if m != nil {
		return m.BoardAttendRatio
	}
	return 0
}

func (m *RuleConfig) GetBoardApproveRatio() int32 {
	if m != nil {
		return m.BoardApproveRatio
	}
	return 0
}

func (m *RuleConfig) GetPubOpposeRatio() int32 {
	if m != nil {
		return m.PubOpposeRatio
	}
	return 0
}

func (m *RuleConfig) GetProposalAmount() int64 {
	if m != nil {
		return m.ProposalAmount
	}
	return 0
}

func (m *RuleConfig) GetLargeProjectAmount() int64 {
	if m != nil {
		return m.LargeProjectAmount
	}
	return 0
}

func init() {
	proto.RegisterType((*VoteResult)(nil), "types.VoteResult")
	proto.RegisterType((*PublicVote)(nil), "types.PublicVote")
	proto.RegisterType((*VotesRecord)(nil), "types.VotesRecord")
	proto.RegisterType((*RuleConfig)(nil), "types.RuleConfig")
}

func init() { proto.RegisterFile("lcommon.proto", fileDescriptor2) }

var fileDescriptor2 = []byte{
	// 299 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcd, 0x4a, 0xc3, 0x40,
	0x10, 0x80, 0x49, 0x7f, 0xb4, 0x9d, 0xaa, 0xe8, 0x9c, 0x7a, 0x10, 0x29, 0x39, 0x68, 0x11, 0xe9,
	0xc5, 0x27, 0x28, 0x3e, 0x80, 0x65, 0x0f, 0xde, 0x37, 0xc9, 0x5a, 0x22, 0xdb, 0xcc, 0xb2, 0x3b,
	0x2b, 0xf4, 0x05, 0x7c, 0x54, 0x9f, 0x43, 0x32, 0xdb, 0xd2, 0xda, 0x08, 0xde, 0x32, 0xdf, 0x7e,
	0x87, 0x6f, 0x86, 0xc0, 0xa5, 0x2d, 0x69, 0xb3, 0xa1, 0x66, 0xe1, 0x3c, 0x31, 0xe1, 0x90, 0xb7,
	0xce, 0x84, 0xfc, 0x2b, 0x03, 0x78, 0x23, 0x36, 0xca, 0x84, 0x68, 0x19, 0xef, 0x00, 0x98, 0x58,
	0xdb, 0x16, 0x85, 0x69, 0x36, 0xcb, 0xe6, 0x43, 0x75, 0x44, 0x30, 0x87, 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