// Code generated by protoc-gen-go. DO NOT EDIT.
// source: department.proto
package department
import (
context "context"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
grpc "google.golang.org/grpc"
codes "google.golang.org/grpc/codes"
status "google.golang.org/grpc/status"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type DepartmentTreeReq struct {
TenantCode string `protobuf:"bytes,1,opt,name=tenant_code,json=tenantCode,proto3" json:"tenant_code"`
XXX_NoUnkeyedLiteral struct{} `json:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-"`
XXX_unrecognized []byte `json:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-"`
XXX_sizecache int32 `json:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-"`
}
func (m *DepartmentTreeReq) Reset() { *m = DepartmentTreeReq{} }
func (m *DepartmentTreeReq) String() string { return proto.CompactTextString(m) }
func (*DepartmentTreeReq) ProtoMessage() {}
func (*DepartmentTreeReq) Descriptor() ([]byte, []int) {
return fileDescriptor_63863e61582d2703, []int{0}
}
func (m *DepartmentTreeReq) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DepartmentTreeReq.Unmarshal(m, b)
}
func (m *DepartmentTreeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DepartmentTreeReq.Marshal(b, m, deterministic)
}
func (m *DepartmentTreeReq) XXX_Merge(src proto.Message) {
xxx_messageInfo_DepartmentTreeReq.Merge(m, src)
}
func (m *DepartmentTreeReq) XXX_Size() int {
return xxx_messageInfo_DepartmentTreeReq.Size(m)
}
func (m *DepartmentTreeReq) XXX_DiscardUnknown() {
xxx_messageInfo_DepartmentTreeReq.DiscardUnknown(m)
}
var xxx_messageInfo_DepartmentTreeReq proto.InternalMessageInfo
func (m *DepartmentTreeReq) GetTenantCode() string {
if m != nil {
return m.TenantCode
}
return ""
}
type DepartmentTree struct {
AgencyCode string `protobuf:"bytes,1,opt,name=agency_code,json=agencyCode,proto3" json:"agency_code"`
AgencyName string `protobuf:"bytes,2,opt,name=agency_name,json=agencyName,proto3" json:"agency_name"`
CreateTime string `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time"`
CreateUser int64 `protobuf:"varint,4,opt,name=create_user,json=createUser,proto3" json:"create_user"`
Id int64 `protobuf:"varint,5,opt,name=id,proto3" json:"id"`
IsDeleted int64 `protobuf:"varint,6,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted"`
ParentId int64 `protobuf:"varint,7,opt,name=parent_id,json=parentId,proto3" json:"parent_id"`
Status int64 `protobuf:"varint,8,opt,name=status,proto3" json:"status"`
TenantCode string `protobuf:"bytes,9,opt,name=tenant_code,json=tenantCode,proto3" json:"tenant_code"`
UpdateTime string `protobuf:"bytes,10,opt,name=update_time,json=updateTime,proto3" json:"update_time"`
UpdateUser int64 `protobuf:"varint,11,opt,name=update_user,json=updateUser,proto3" json:"update_user"`
Children []*DepartmentTree `protobuf:"bytes,12,rep,name=children,proto3" json:"children"`
XXX_NoUnkeyedLiteral struct{} `json:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-"`
XXX_unrecognized []byte `json:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-"`
XXX_sizecache int32 `json:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-" gorm:"-"`
}
func (m *DepartmentTree) Reset() { *m = DepartmentTree{} }
func (m *DepartmentTree) String() string { return proto.CompactTextString(m) }
func (*DepartmentTree) ProtoMessage() {}
func (*DepartmentTree) Descriptor() ([]byte, []int) {
return fileDescriptor_63863e61582d2703, []int{1}
}
func (m *DepartmentTree) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DepartmentTree.Unmarshal(m, b)
}
func (m *DepartmentTree) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DepartmentTree.Marshal(b, m, deterministic)
}
func (m *DepartmentTree) XXX_Merge(src proto.Message) {
xxx_messageInfo_DepartmentTree.Merge(m, src)
}
func (m *DepartmentTree) XXX_Size() int {
return xxx_messageInfo_DepartmentTree.Size(m)
}
func (m *DepartmentTree) XXX_DiscardUnknown() {
xxx_messageInfo_DepartmentTree.DiscardUnknown(m)
}
var xxx_messageInfo_DepartmentTree proto.InternalMessageInfo
func (m *DepartmentTree) GetAgencyCode() string {
if m != nil {
return m.AgencyCode
}
return ""
}
func (m *DepartmentTree) GetAgencyName() string {
if m != nil {
return m.AgencyName
}
return ""
}
func (m *DepartmentTree) GetCreateTime() string {
if m != nil {
return m.CreateTime
}
return ""
}
func (m *DepartmentTree) GetCreateUser() int64 {
if m != nil {
return m.CreateUser
}
return 0
}
func (m *DepartmentTree) GetId() int64 {
if m != nil {
return m.Id
}
return 0
}
func (m *DepartmentTree) GetIsDeleted() int64 {
if m != nil {
return m.IsDeleted
}
return 0
}
func (m *DepartmentTree) GetParentId() int64 {
if m != nil {
return m.ParentId
}
return 0
}
func (m *DepartmentTree) GetStatus() int64 {
if m != nil {
return m.Status
}
return 0
}
func (m *DepartmentTree) GetTenantCode() string {
if m != nil {
return m.TenantCode
}
return ""
}
func (m *DepartmentTree) GetUpdateTime() string {
if m != nil {
return m.UpdateTime
}
return ""
}
func (m *DepartmentTree) GetUpdateUser() int64 {
if m != nil {
return m.UpdateUser
}
return 0
}
func (m *DepartmentTree) GetChildren() []*DepartmentTree {
if m != nil {
return m.Children
}
return nil
}
//内设机构表
//@TableName: as_inner_agency
type AsInnerAgencyTree struct {
//@inject_tag: gorm:"cloumn:id;primary_key;"
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id" gorm:"cloumn:id;primary_key;"`
//机构名称
//@inject_tag: gorm:"cloumn:agency_name"
AgencyName string `protobuf:"bytes,2,opt,name=agency_name,json=agencyName,proto3" json:"agency_name" gorm:"cloumn:agency_name"`
//部门编码(系统生成)
//@inject_tag: gorm:"cloumn:agency_code"
AgencyCode string `protobuf:"bytes,3,opt,name=agency_code,json=agencyCode,proto3" json:"agency_code" gorm:"cloumn:agency_code"`
//所属租户ID
//@inject_tag: gorm:"cloumn:tenant_code"
TenantCode string `protobuf:"bytes,4,opt,name=tenant_code,json=tenantCode,proto3" json:"tenant_code" gorm:"cloumn:tenant_code"`
//父Id
//@inject_tag: gorm:"cloumn:parent_id"
ParentId int64 `protobuf:"varint,5,opt,name=parent_id,json=parentId,proto3" json:"parent_id" gorm:"cloumn:parent_id"`
//是否