package domain

/*****   1.用户模块  *****/
// 用户类型
const (
	UserTypeEmployee     = 1
	UserTypeCooperation  = 2
	UserTypeCompanyAdmin = 1024
)

// 用户状态
const (
	UserStatusEnable  int = 1
	UserStatusDisable int = 2
	UserStatusDestroy int = 3
)

/*****   2.菜单模块  *****/
// 菜单启用状态 结合用户菜单权限
const (
	MenuStatusEnable  = 1 // 菜单启用
	MenuStatusDisable = 2 // 菜单禁用
)

// 菜单公开状态
const (
	MenuPublic  = 1 // 菜单公开
	MenuPrivate = 2 // 菜单未公开
)

const (
	WebMenuCode = "web"
	AppMenuCode = "app"
)

/*****   3.组织模块  *****/
const (
	IsOrgFlag    = 1 //   标记为组织
	IsNotOrgFlag = 2 // 标记为非组织
)

const (
	OrgStatusEnable  = 1
	OrgStatusDisable = 2
)

const (
	MaxQueryRowCount    = 1000
	NormalQueryRowCount = 100
)

const (
	// 导入公司用户
	ImportCompanyUser = "ImportCompanyUser"
	// 导入公司组织
	ImportOrganization = "ImportOrganization"
	// 导入共创用户
	ImportCooperationUser = "ImportCooperationUser"

	// 导入分红订单
	ImportDividendsOrders = "ImportDividendsOrders"
)

//excel 导入模板
const (
	// 导入公司用户
	TemplateCompanyUser = "TemplateCompanyUser"
	// 导入公司组织
	TemplateOrganization = "TemplateOrganization"
	// 导入共创用户
	TemplateCooperationUser = "TemplateCooperationUser"

	// 分红订单模板
	TemplateDividendsOrders = "TemplateDividendsOrders"
)