consts

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PermissionTree []*sys_model.SysPermissionTree

	// FinancialPermissionTree 财务服务权限树 (可选)
	FinancialPermissionTree []*sys_model.SysPermissionTree

	Global = global{
		Modules: co_module.NewModules(
			&co_model.Config{
				AllowEmptyNo:                   true,
				IsCreateDefaultEmployeeAndRole: false,
				HardDeleteWaitAt:               0,
				KeyIndex:                       "Company",
				RoutePrefix:                    "/company",
				StoragePath:                    "./resources/company",
				UserType:                       sys_enum.User.Type.SuperAdmin,
				Identifier: co_model.Identifier{
					Company:         "company",
					Employee:        "employee",
					Team:            "team",
					FdAccount:       "fdAccount",
					FdAccountBill:   "fdAccountBill",
					FdInvoice:       "fdInvoice",
					FdInvoiceDetail: "fdInvoiceDetail",
					FdBankCard:      "fdBankCard",
				},
			},
			&co_dao.XDao{
				Company:  co_dao.NewCompany(),
				Employee: co_dao.NewCompanyEmployee(),

				Team:       co_dao.NewCompanyTeam(),
				TeamMember: co_dao.NewCompanyTeamMember(),

				FdAccount:       co_dao.NewFdAccount(),
				FdAccountBill:   co_dao.NewFdAccountBill(),
				FdInvoice:       co_dao.NewFdInvoice(),
				FdInvoiceDetail: co_dao.NewFdInvoiceDetail(),
				FdCurrency:      co_dao.NewFdCurrency(),
				FdBankCard:      co_dao.NewFdBankCard(),
			},
		),
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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