financial

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccountType = accountType{
	System:   enum.New[AccountTypeEnum](1, "系统账户"),
	BankCard: enum.New[AccountTypeEnum](2, "银行卡"),
	Alipay:   enum.New[AccountTypeEnum](3, "支付宝"),
	WeiXin:   enum.New[AccountTypeEnum](4, "微信"),
	UnionPay: enum.New[AccountTypeEnum](5, "云闪付"),
}
View Source
var AllowExceed = allowExceed{
	Disabled: enum.New[AllowExceedEnum](0, "禁止"),
	Allow:    enum.New[AllowExceedEnum](1, "允许"),
}
View Source
var Financial = financial{
	InOutType:   InOutType,
	TradeType:   TradeType,
	AccountType: AccountType,
	SceneType:   SceneType,
	AllowExceed: AllowExceed,
}
View Source
var InOutType = inOutType{
	In:  enum.New[InOutTypeEnum](1, "收入"),
	Out: enum.New[InOutTypeEnum](2, "支出"),
}
View Source
var SceneType = sceneType{
	UnLimit: enum.New[SceneTypeEnum](0, "不限制"),
}
View Source
var TradeType = tradeType{
	Transfer:        enum.New[TradeTypeEnum](1, "转账"),
	Consumption:     enum.New[TradeTypeEnum](2, "消费"),
	Refund:          enum.New[TradeTypeEnum](4, "退款"),
	Commission:      enum.New[TradeTypeEnum](8, "佣金"),
	SecurityDeposit: enum.New[TradeTypeEnum](16, "保证金"),
	EarnestMoney:    enum.New[TradeTypeEnum](32, "诚意金"),
	ServiceCharge:   enum.New[TradeTypeEnum](64, "手续费/服务费"),
	CashWithdrawal:  enum.New[TradeTypeEnum](128, "提现"),
	Recharge:        enum.New[TradeTypeEnum](256, "充值"),
	OperatingIncome: enum.New[TradeTypeEnum](512, "营收"),
	Other:           enum.New[TradeTypeEnum](8192, "其它"),
}

Functions

This section is empty.

Types

type AccountTypeEnum added in v0.3.11

type AccountTypeEnum enum.IEnumCode[int]

AccountTypeEnum 账户类型:1系统账户、2银行卡、3支付宝、4微信、5云闪付

type AllowExceedEnum added in v0.6.28

type AllowExceedEnum enum.IEnumCode[int]

type InOutTypeEnum

type InOutTypeEnum enum.IEnumCode[int]

type SceneTypeEnum added in v0.3.11

type SceneTypeEnum enum.IEnumCode[int]

SceneTypeEnum 场景类型:0不限制、1充电佣金收入、

type TradeTypeEnum

type TradeTypeEnum enum.IEnumCode[int]

Jump to

Keyboard shortcuts

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