Documentation ¶
Index ¶
- type CompanyColumns
- type CompanyDao
- func (dao *CompanyDao) Columns() CompanyColumns
- func (dao *CompanyDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
- func (dao *CompanyDao) DB() gdb.DB
- func (dao *CompanyDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
- func (dao *CompanyDao) Group() string
- func (dao *CompanyDao) Table() string
- func (dao *CompanyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type CompanyEmployeeColumns
- type CompanyEmployeeDao
- func (dao *CompanyEmployeeDao) Columns() CompanyEmployeeColumns
- func (dao *CompanyEmployeeDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
- func (dao *CompanyEmployeeDao) DB() gdb.DB
- func (dao *CompanyEmployeeDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
- func (dao *CompanyEmployeeDao) Group() string
- func (dao *CompanyEmployeeDao) Table() string
- func (dao *CompanyEmployeeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type CompanyTeamColumns
- type CompanyTeamDao
- func (dao *CompanyTeamDao) Columns() CompanyTeamColumns
- func (dao *CompanyTeamDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
- func (dao *CompanyTeamDao) DB() gdb.DB
- func (dao *CompanyTeamDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
- func (dao *CompanyTeamDao) Group() string
- func (dao *CompanyTeamDao) Table() string
- func (dao *CompanyTeamDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type CompanyTeamMemberColumns
- type CompanyTeamMemberDao
- func (dao *CompanyTeamMemberDao) Columns() CompanyTeamMemberColumns
- func (dao *CompanyTeamMemberDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
- func (dao *CompanyTeamMemberDao) DB() gdb.DB
- func (dao *CompanyTeamMemberDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
- func (dao *CompanyTeamMemberDao) Group() string
- func (dao *CompanyTeamMemberDao) Table() string
- func (dao *CompanyTeamMemberDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type FdAccountBillColumns
- type FdAccountBillDao
- func (dao *FdAccountBillDao) Columns() FdAccountBillColumns
- func (dao *FdAccountBillDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
- func (dao *FdAccountBillDao) DB() gdb.DB
- func (dao *FdAccountBillDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
- func (dao *FdAccountBillDao) Group() string
- func (dao *FdAccountBillDao) Table() string
- func (dao *FdAccountBillDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type FdAccountColumns
- type FdAccountDao
- func (dao *FdAccountDao) Columns() FdAccountColumns
- func (dao *FdAccountDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
- func (dao *FdAccountDao) DB() gdb.DB
- func (dao *FdAccountDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
- func (dao *FdAccountDao) Group() string
- func (dao *FdAccountDao) Table() string
- func (dao *FdAccountDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type FdAccountDetailColumns
- type FdAccountDetailDao
- func (dao *FdAccountDetailDao) Columns() FdAccountDetailColumns
- func (dao *FdAccountDetailDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
- func (dao *FdAccountDetailDao) DB() gdb.DB
- func (dao *FdAccountDetailDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
- func (dao *FdAccountDetailDao) Group() string
- func (dao *FdAccountDetailDao) Table() string
- func (dao *FdAccountDetailDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type FdBankCardColumns
- type FdBankCardDao
- func (dao *FdBankCardDao) Columns() FdBankCardColumns
- func (dao *FdBankCardDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
- func (dao *FdBankCardDao) DB() gdb.DB
- func (dao *FdBankCardDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
- func (dao *FdBankCardDao) Group() string
- func (dao *FdBankCardDao) Table() string
- func (dao *FdBankCardDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type FdCurrencyColumns
- type FdCurrencyDao
- func (dao *FdCurrencyDao) Columns() FdCurrencyColumns
- func (dao *FdCurrencyDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
- func (dao *FdCurrencyDao) DB() gdb.DB
- func (dao *FdCurrencyDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
- func (dao *FdCurrencyDao) Group() string
- func (dao *FdCurrencyDao) Table() string
- func (dao *FdCurrencyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type FdInvoiceColumns
- type FdInvoiceDao
- func (dao *FdInvoiceDao) Columns() FdInvoiceColumns
- func (dao *FdInvoiceDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
- func (dao *FdInvoiceDao) DB() gdb.DB
- func (dao *FdInvoiceDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
- func (dao *FdInvoiceDao) Group() string
- func (dao *FdInvoiceDao) Table() string
- func (dao *FdInvoiceDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type FdInvoiceDetailColumns
- type FdInvoiceDetailDao
- func (dao *FdInvoiceDetailDao) Columns() FdInvoiceDetailColumns
- func (dao *FdInvoiceDetailDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
- func (dao *FdInvoiceDetailDao) DB() gdb.DB
- func (dao *FdInvoiceDetailDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
- func (dao *FdInvoiceDetailDao) Group() string
- func (dao *FdInvoiceDetailDao) Table() string
- func (dao *FdInvoiceDetailDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
- type LicenseColumns
- type LicenseDao
- func (dao *LicenseDao) Columns() LicenseColumns
- func (dao *LicenseDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
- func (dao *LicenseDao) DB() gdb.DB
- func (dao *LicenseDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
- func (dao *LicenseDao) Group() string
- func (dao *LicenseDao) Table() string
- func (dao *LicenseDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompanyColumns ¶
type CompanyColumns struct { Id string // ID Name string // 名称 ContactName string // 商务联系人 ContactMobile string // 商务联系电话 UserId string // 管理员ID State string // 状态:0未启用,1正常 Remark string // 备注 CreatedBy string // 创建者 CreatedAt string // 创建时间 UpdatedBy string // 更新者 UpdatedAt string // 更新时间 DeletedBy string // 删除者 DeletedAt string // 删除时间 ParentId string // 父级ID Address string // 地址 LicenseId string // 主体资质id LicenseState string // 主体状态,和主体资质状态保持一致 }
CompanyColumns defines and stores column names for table co_company.
type CompanyDao ¶
type CompanyDao struct {
// contains filtered or unexported fields
}
CompanyDao is the data access object for table co_company.
func NewCompanyDao ¶
func NewCompanyDao(proxy ...dao_interface.IDao) *CompanyDao
NewCompanyDao creates and returns a new DAO object for table data access.
func (*CompanyDao) Columns ¶
func (dao *CompanyDao) Columns() CompanyColumns
Columns returns all column names of current dao.
func (*CompanyDao) Ctx ¶
func (dao *CompanyDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*CompanyDao) DB ¶
func (dao *CompanyDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*CompanyDao) DaoConfig ¶ added in v0.1.106
func (dao *CompanyDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
func (*CompanyDao) Group ¶
func (dao *CompanyDao) Group() string
Group returns the configuration group name of database of current dao.
func (*CompanyDao) Table ¶
func (dao *CompanyDao) Table() string
Table returns the table name of current dao.
func (*CompanyDao) Transaction ¶
func (dao *CompanyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type CompanyEmployeeColumns ¶
type CompanyEmployeeColumns struct { Id string // ID,保持与USERID一致 No string // 工号 Avatar string // 头像 Name string // 姓名 Mobile string // 手机号 UnionMainId string // 所属主体 State string // 状态: -1已离职,0待确认,1已入职 LastActiveIp string // 最后活跃IP HiredAt string // 入职时间 CreatedBy string // CreatedAt string // UpdatedBy string // UpdatedAt string // DeletedBy string // DeletedAt string // Sex string // 性别:0未知、1男、2女 Remark string // 备注 }
CompanyEmployeeColumns defines and stores column names for table co_company_employee.
type CompanyEmployeeDao ¶
type CompanyEmployeeDao struct {
// contains filtered or unexported fields
}
CompanyEmployeeDao is the data access object for table co_company_employee.
func NewCompanyEmployeeDao ¶
func NewCompanyEmployeeDao(proxy ...dao_interface.IDao) *CompanyEmployeeDao
NewCompanyEmployeeDao creates and returns a new DAO object for table data access.
func (*CompanyEmployeeDao) Columns ¶
func (dao *CompanyEmployeeDao) Columns() CompanyEmployeeColumns
Columns returns all column names of current dao.
func (*CompanyEmployeeDao) Ctx ¶
func (dao *CompanyEmployeeDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*CompanyEmployeeDao) DB ¶
func (dao *CompanyEmployeeDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*CompanyEmployeeDao) DaoConfig ¶ added in v0.1.106
func (dao *CompanyEmployeeDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
func (*CompanyEmployeeDao) Group ¶
func (dao *CompanyEmployeeDao) Group() string
Group returns the configuration group name of database of current dao.
func (*CompanyEmployeeDao) Table ¶
func (dao *CompanyEmployeeDao) Table() string
Table returns the table name of current dao.
func (*CompanyEmployeeDao) Transaction ¶
func (dao *CompanyEmployeeDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type CompanyTeamColumns ¶
type CompanyTeamColumns struct { Id string // ID Name string // 团队名称,公司维度下唯一 OwnerEmployeeId string // 团队所有者/业务总监/业务经理/团队队长 CaptainEmployeeId string // 团队队长编号/小组组长 UnionMainId string // 所属主体单位ID ParentId string // 父级ID Remark string // 备注 CreatedAt string // UpdatedAt string // DeletedAt string // }
CompanyTeamColumns defines and stores column names for table co_company_team.
type CompanyTeamDao ¶
type CompanyTeamDao struct {
// contains filtered or unexported fields
}
CompanyTeamDao is the data access object for table co_company_team.
func NewCompanyTeamDao ¶
func NewCompanyTeamDao(proxy ...dao_interface.IDao) *CompanyTeamDao
NewCompanyTeamDao creates and returns a new DAO object for table data access.
func (*CompanyTeamDao) Columns ¶
func (dao *CompanyTeamDao) Columns() CompanyTeamColumns
Columns returns all column names of current dao.
func (*CompanyTeamDao) Ctx ¶
func (dao *CompanyTeamDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*CompanyTeamDao) DB ¶
func (dao *CompanyTeamDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*CompanyTeamDao) DaoConfig ¶ added in v0.1.106
func (dao *CompanyTeamDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
func (*CompanyTeamDao) Group ¶
func (dao *CompanyTeamDao) Group() string
Group returns the configuration group name of database of current dao.
func (*CompanyTeamDao) Table ¶
func (dao *CompanyTeamDao) Table() string
Table returns the table name of current dao.
func (*CompanyTeamDao) Transaction ¶
func (dao *CompanyTeamDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type CompanyTeamMemberColumns ¶
type CompanyTeamMemberColumns struct { Id string // ID TeamId string // 团队ID EmployeeId string // 成员ID InviteUserId string // 邀约人ID UnionMainId string // 关联主体ID JoinAt string // 加入时间 }
CompanyTeamMemberColumns defines and stores column names for table co_company_team_member.
type CompanyTeamMemberDao ¶
type CompanyTeamMemberDao struct {
// contains filtered or unexported fields
}
CompanyTeamMemberDao is the data access object for table co_company_team_member.
func NewCompanyTeamMemberDao ¶
func NewCompanyTeamMemberDao(proxy ...dao_interface.IDao) *CompanyTeamMemberDao
NewCompanyTeamMemberDao creates and returns a new DAO object for table data access.
func (*CompanyTeamMemberDao) Columns ¶
func (dao *CompanyTeamMemberDao) Columns() CompanyTeamMemberColumns
Columns returns all column names of current dao.
func (*CompanyTeamMemberDao) Ctx ¶
func (dao *CompanyTeamMemberDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*CompanyTeamMemberDao) DB ¶
func (dao *CompanyTeamMemberDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*CompanyTeamMemberDao) DaoConfig ¶ added in v0.1.106
func (dao *CompanyTeamMemberDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
func (*CompanyTeamMemberDao) Group ¶
func (dao *CompanyTeamMemberDao) Group() string
Group returns the configuration group name of database of current dao.
func (*CompanyTeamMemberDao) Table ¶
func (dao *CompanyTeamMemberDao) Table() string
Table returns the table name of current dao.
func (*CompanyTeamMemberDao) Transaction ¶
func (dao *CompanyTeamMemberDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type FdAccountBillColumns ¶ added in v0.1.112
type FdAccountBillColumns struct { Id string // ID FromUserId string // 交易发起方UserID,如果是系统则固定为-1 ToUserId string // 交易对象UserID FdAccountId string // 财务账户ID BeforeBalance string // 交易前账户余额 Amount string // 交易金额 AfterBalance string // 交易后账户余额 UnionOrderId string // 关联业务订单ID InOutType string // 收支类型:1收入,2支出 TradeType string // 交易类型,1转账、2消费、4退款、8佣金、16保证金、32诚意金、64手续费/服务费、128提现、256充值、512营收,8192其它 TradeAt string // 交易时间 Remark string // 备注信息 TradeState string // 交易状态:1待支付、2支付中、4已支付、8取消支付、16交易完成、32退款中、64已退款、128支付超时、256已关闭 DeletedAt string // CreatedAt string // CreatedBy string // }
FdAccountBillColumns defines and stores column names for table co_fd_account_bill.
type FdAccountBillDao ¶ added in v0.1.112
type FdAccountBillDao struct {
// contains filtered or unexported fields
}
FdAccountBillDao is the data access object for table co_fd_account_bill.
func NewFdAccountBillDao ¶ added in v0.1.112
func NewFdAccountBillDao(proxy ...dao_interface.IDao) *FdAccountBillDao
NewFdAccountBillDao creates and returns a new DAO object for table data access.
func (*FdAccountBillDao) Columns ¶ added in v0.1.112
func (dao *FdAccountBillDao) Columns() FdAccountBillColumns
Columns returns all column names of current dao.
func (*FdAccountBillDao) Ctx ¶ added in v0.1.112
func (dao *FdAccountBillDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*FdAccountBillDao) DB ¶ added in v0.1.112
func (dao *FdAccountBillDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*FdAccountBillDao) DaoConfig ¶ added in v0.1.112
func (dao *FdAccountBillDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
func (*FdAccountBillDao) Group ¶ added in v0.1.112
func (dao *FdAccountBillDao) Group() string
Group returns the configuration group name of database of current dao.
func (*FdAccountBillDao) Table ¶ added in v0.1.112
func (dao *FdAccountBillDao) Table() string
Table returns the table name of current dao.
func (*FdAccountBillDao) Transaction ¶ added in v0.1.112
func (dao *FdAccountBillDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type FdAccountColumns ¶ added in v0.1.112
type FdAccountColumns struct { Id string // ID Name string // 账户名称 UnionLicenseId string // 关联资质ID,大于0时必须保值与 union_user_id 关联得上 UnionUserId string // 关联用户ID CurrencyCode string // 货币代码 IsEnabled string // 是否启用:1启用,0禁用 LimitState string // 限制状态:0不限制,1限制支出、2限制收入 PrecisionOfBalance string // 货币单位精度:1:元,10:角,100:分,1000:厘,10000:毫,…… Balance string // 当前余额,必须要与账单最后一笔交易余额对应得上 Version string // 乐观锁所需数据版本字段 CreatedAt string // CreatedBy string // UpdatedAt string // UpdatedBy string // DeletedAt string // DeletedBy string // SceneType string // 场景类型:0不限、1充电佣金收入 AccountType string // 账户类型:1系统账户、2银行卡、3支付宝、4微信、5云闪付、6翼支付 AccountNumber string // 账户编号,例如银行卡号、支付宝账号、微信账号等对应账户类型的编号 UnionMainId string // 关联主体ID,与union_license_id 中的union_main_id 一致 AllowExceed string // 是否允许存在负余额: 0禁止、1允许 }
FdAccountColumns defines and stores column names for table co_fd_account.
type FdAccountDao ¶ added in v0.1.112
type FdAccountDao struct {
// contains filtered or unexported fields
}
FdAccountDao is the data access object for table co_fd_account.
func NewFdAccountDao ¶ added in v0.1.112
func NewFdAccountDao(proxy ...dao_interface.IDao) *FdAccountDao
NewFdAccountDao creates and returns a new DAO object for table data access.
func (*FdAccountDao) Columns ¶ added in v0.1.112
func (dao *FdAccountDao) Columns() FdAccountColumns
Columns returns all column names of current dao.
func (*FdAccountDao) Ctx ¶ added in v0.1.112
func (dao *FdAccountDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*FdAccountDao) DB ¶ added in v0.1.112
func (dao *FdAccountDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*FdAccountDao) DaoConfig ¶ added in v0.1.112
func (dao *FdAccountDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
func (*FdAccountDao) Group ¶ added in v0.1.112
func (dao *FdAccountDao) Group() string
Group returns the configuration group name of database of current dao.
func (*FdAccountDao) Table ¶ added in v0.1.112
func (dao *FdAccountDao) Table() string
Table returns the table name of current dao.
func (*FdAccountDao) Transaction ¶ added in v0.1.112
func (dao *FdAccountDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type FdAccountDetailColumns ¶ added in v0.3.12
type FdAccountDetailColumns struct { Id string // 和财务账号 id保持一致 TodayAccountSum string // 今日金额 TodayUpdatedAt string // 今日金额更新时间 WeekAccountSum string // 本周金额 WeekUpdatedAt string // 本周金额更新时间 MonthAccountSum string // 本月金额 MonthUpdatedAt string // 本月金额更新时间 QuarterAccountSum string // 本季度金额统计 QuarterUpdatedAt string // 本季度金额更新时间 YearAccountSum string // 本年度金额统计 YearUpdatedAt string // 本年度金额更新时间 UnionMainId string // 关联主体id SysUserId string // 关联用户id Version string // 乐观锁所需数据版本字段 SceneType string // 场景类型:0不限、1充电佣金收入 }
FdAccountDetailColumns defines and stores column names for table co_fd_account_detail.
type FdAccountDetailDao ¶ added in v0.3.12
type FdAccountDetailDao struct {
// contains filtered or unexported fields
}
FdAccountDetailDao is the data access object for table co_fd_account_detail.
func NewFdAccountDetailDao ¶ added in v0.3.12
func NewFdAccountDetailDao(proxy ...dao_interface.IDao) *FdAccountDetailDao
NewFdAccountDetailDao creates and returns a new DAO object for table data access.
func (*FdAccountDetailDao) Columns ¶ added in v0.3.12
func (dao *FdAccountDetailDao) Columns() FdAccountDetailColumns
Columns returns all column names of current dao.
func (*FdAccountDetailDao) Ctx ¶ added in v0.3.12
func (dao *FdAccountDetailDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*FdAccountDetailDao) DB ¶ added in v0.3.12
func (dao *FdAccountDetailDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*FdAccountDetailDao) DaoConfig ¶ added in v0.3.12
func (dao *FdAccountDetailDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
func (*FdAccountDetailDao) Group ¶ added in v0.3.12
func (dao *FdAccountDetailDao) Group() string
Group returns the configuration group name of database of current dao.
func (*FdAccountDetailDao) Table ¶ added in v0.3.12
func (dao *FdAccountDetailDao) Table() string
Table returns the table name of current dao.
func (*FdAccountDetailDao) Transaction ¶ added in v0.3.12
func (dao *FdAccountDetailDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type FdBankCardColumns ¶ added in v0.1.112
type FdBankCardColumns struct { Id string // ID BankName string // 银行名称 CardType string // 银行卡类型:1借记卡,2储蓄卡 CardNumber string // 银行卡号 ExpiredAt string // 有效期 HolderName string // 银行卡开户名 BankOfAccount string // 开户行 State string // 状态:0禁用,1正常 Remark string // 备注信息 UserId string // 用户id,表示属于谁 CreatedAt string // CreatedBy string // UpdatedAt string // UpdatedBy string // DeletedAt string // DeletedBy string // }
FdBankCardColumns defines and stores column names for table co_fd_bank_card.
type FdBankCardDao ¶ added in v0.1.112
type FdBankCardDao struct {
// contains filtered or unexported fields
}
FdBankCardDao is the data access object for table co_fd_bank_card.
func NewFdBankCardDao ¶ added in v0.1.112
func NewFdBankCardDao(proxy ...dao_interface.IDao) *FdBankCardDao
NewFdBankCardDao creates and returns a new DAO object for table data access.
func (*FdBankCardDao) Columns ¶ added in v0.1.112
func (dao *FdBankCardDao) Columns() FdBankCardColumns
Columns returns all column names of current dao.
func (*FdBankCardDao) Ctx ¶ added in v0.1.112
func (dao *FdBankCardDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*FdBankCardDao) DB ¶ added in v0.1.112
func (dao *FdBankCardDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*FdBankCardDao) DaoConfig ¶ added in v0.1.112
func (dao *FdBankCardDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
func (*FdBankCardDao) Group ¶ added in v0.1.112
func (dao *FdBankCardDao) Group() string
Group returns the configuration group name of database of current dao.
func (*FdBankCardDao) Table ¶ added in v0.1.112
func (dao *FdBankCardDao) Table() string
Table returns the table name of current dao.
func (*FdBankCardDao) Transaction ¶ added in v0.1.112
func (dao *FdBankCardDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type FdCurrencyColumns ¶ added in v0.1.112
type FdCurrencyColumns struct { Code string // 国家编码 EnName string // 国家英文名称 CnName string // 国家中文名称 CurrencyCode string // 货币编码 CurrencyCn string // 货币中文名称 CurrencyEn string // 货币英文名称 Symbol string // 货币符号 SymbolNative string // 货币原生符号 IsLegalTender string // 是否法定货币:1是,0否 CurrencyRate string // 货币汇率,本币为人民币 }
FdCurrencyColumns defines and stores column names for table co_fd_currency.
type FdCurrencyDao ¶ added in v0.1.112
type FdCurrencyDao struct {
// contains filtered or unexported fields
}
FdCurrencyDao is the data access object for table co_fd_currency.
func NewFdCurrencyDao ¶ added in v0.1.112
func NewFdCurrencyDao(proxy ...dao_interface.IDao) *FdCurrencyDao
NewFdCurrencyDao creates and returns a new DAO object for table data access.
func (*FdCurrencyDao) Columns ¶ added in v0.1.112
func (dao *FdCurrencyDao) Columns() FdCurrencyColumns
Columns returns all column names of current dao.
func (*FdCurrencyDao) Ctx ¶ added in v0.1.112
func (dao *FdCurrencyDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*FdCurrencyDao) DB ¶ added in v0.1.112
func (dao *FdCurrencyDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*FdCurrencyDao) DaoConfig ¶ added in v0.1.112
func (dao *FdCurrencyDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
func (*FdCurrencyDao) Group ¶ added in v0.1.112
func (dao *FdCurrencyDao) Group() string
Group returns the configuration group name of database of current dao.
func (*FdCurrencyDao) Table ¶ added in v0.1.112
func (dao *FdCurrencyDao) Table() string
Table returns the table name of current dao.
func (*FdCurrencyDao) Transaction ¶ added in v0.1.112
func (dao *FdCurrencyDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type FdInvoiceColumns ¶ added in v0.1.112
type FdInvoiceColumns struct { Id string // Name string // 发票抬头名称 TaxId string // 纳税识别号 Addr string // 发票收件地址,限纸质 Email string // 发票收件邮箱,限电子发票 UserId string // 申请人UserID AuditUserId string // 审核人UserID AuditReplyMsg string // 审核回复,仅审核不通过时才有值 AuditAt string // 审核时间 State string // 状态:0待审核、1已通过、-1不通过 UnionMainId string // 主体ID:运营商ID、服务商ID、商户ID、消费者ID CreatedAt string // CreatedBy string // UpdatedAt string // UpdatedBy string // DeletedAt string // DeletedBy string // }
FdInvoiceColumns defines and stores column names for table co_fd_invoice.
type FdInvoiceDao ¶ added in v0.1.112
type FdInvoiceDao struct {
// contains filtered or unexported fields
}
FdInvoiceDao is the data access object for table co_fd_invoice.
func NewFdInvoiceDao ¶ added in v0.1.112
func NewFdInvoiceDao(proxy ...dao_interface.IDao) *FdInvoiceDao
NewFdInvoiceDao creates and returns a new DAO object for table data access.
func (*FdInvoiceDao) Columns ¶ added in v0.1.112
func (dao *FdInvoiceDao) Columns() FdInvoiceColumns
Columns returns all column names of current dao.
func (*FdInvoiceDao) Ctx ¶ added in v0.1.112
func (dao *FdInvoiceDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*FdInvoiceDao) DB ¶ added in v0.1.112
func (dao *FdInvoiceDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*FdInvoiceDao) DaoConfig ¶ added in v0.1.112
func (dao *FdInvoiceDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
func (*FdInvoiceDao) Group ¶ added in v0.1.112
func (dao *FdInvoiceDao) Group() string
Group returns the configuration group name of database of current dao.
func (*FdInvoiceDao) Table ¶ added in v0.1.112
func (dao *FdInvoiceDao) Table() string
Table returns the table name of current dao.
func (*FdInvoiceDao) Transaction ¶ added in v0.1.112
func (dao *FdInvoiceDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type FdInvoiceDetailColumns ¶ added in v0.1.112
type FdInvoiceDetailColumns struct { Id string // ID TaxNumber string // 纳税识别号 TaxName string // 纳税人名称 BillIds string // 账单ID组 Amount string // 开票金额,单位精度:分 Rate string // 税率,如3% 则填入3 RateMount string // 税额,单位精度:分 Remark string // 发布内容描述 Type string // 发票类型:1电子发票,2纸质发票 State string // 状态:1待审核、2待开票、4开票失败、8已开票、16已撤销 AuditUserIds string // 审核者UserID,多个用逗号隔开 MakeType string // 出票类型:1普通发票、2增值税专用发票、3专业发票 MakeUserId string // 出票人UserID,如果是系统出票则默认-1 MakeAt string // 出票时间 CourierName string // 快递名称,限纸质发票 CourierNumber string // 快递编号,限纸质发票 FdInvoiceId string // 发票抬头ID AuditUserId string // 审核者UserID AuditReplyMsg string // 审核回复,仅审核不通过时才有值 AuditAt string // 审核时间 UserId string // 申请者用户ID UnionMainId string // 主体ID:运营商ID、服务商ID、商户ID、消费者ID Email string // 发票收件邮箱,限电子发票 CreatedAt string // CreatedBy string // UpdatedAt string // UpdatedBy string // DeletedAt string // DeletedBy string // BelongTo string // 发票拥有者类型:1个人 2主体 }
FdInvoiceDetailColumns defines and stores column names for table co_fd_invoice_detail.
type FdInvoiceDetailDao ¶ added in v0.1.112
type FdInvoiceDetailDao struct {
// contains filtered or unexported fields
}
FdInvoiceDetailDao is the data access object for table co_fd_invoice_detail.
func NewFdInvoiceDetailDao ¶ added in v0.1.112
func NewFdInvoiceDetailDao(proxy ...dao_interface.IDao) *FdInvoiceDetailDao
NewFdInvoiceDetailDao creates and returns a new DAO object for table data access.
func (*FdInvoiceDetailDao) Columns ¶ added in v0.1.112
func (dao *FdInvoiceDetailDao) Columns() FdInvoiceDetailColumns
Columns returns all column names of current dao.
func (*FdInvoiceDetailDao) Ctx ¶ added in v0.1.112
func (dao *FdInvoiceDetailDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*FdInvoiceDetailDao) DB ¶ added in v0.1.112
func (dao *FdInvoiceDetailDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*FdInvoiceDetailDao) DaoConfig ¶ added in v0.1.112
func (dao *FdInvoiceDetailDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
func (*FdInvoiceDetailDao) Group ¶ added in v0.1.112
func (dao *FdInvoiceDetailDao) Group() string
Group returns the configuration group name of database of current dao.
func (*FdInvoiceDetailDao) Table ¶ added in v0.1.112
func (dao *FdInvoiceDetailDao) Table() string
Table returns the table name of current dao.
func (*FdInvoiceDetailDao) Transaction ¶ added in v0.1.112
func (dao *FdInvoiceDetailDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.
type LicenseColumns ¶ added in v0.5.10
type LicenseColumns struct { Id string // IdcardFrontPath string // 身份证头像面照片 IdcardBackPath string // 身份证国徽面照片 IdcardNo string // 身份证号 IdcardExpiredDate string // 身份证有效期 IdcardAddress string // 身份证户籍地址 PersonContactName string // 负责人,必须是自然人 PersonContactMobile string // 负责人,联系电话 BusinessLicenseName string // 公司全称 BusinessLicenseAddress string // 公司地址 BusinessLicensePath string // 营业执照图片地址 BusinessLicenseScope string // 经营范围 BusinessLicenseRegCapital string // 注册资本 BusinessLicenseTermTime string // 营业期限 BusinessLicenseOrgCode string // 组织机构代码 BusinessLicenseCreditCode string // 统一社会信用代码 BusinessLicenseLegal string // 法人 BusinessLicenseLegalPath string // 法人证照,如果法人不是自然人,则该项必填 LatestAuditLogId string // 最新的审核记录ID State string // 状态:0失效、1正常 AuthType string // 认证类型: Remark string // 备注信息 UpdatedAt string // CreatedAt string // DeletedAt string // BrandName string // 品牌名称 BusinessLicenseLegalMobile string // 法人联系电话 ServerMobile string // 服务电话 }
LicenseColumns defines and stores column names for table co_license.
type LicenseDao ¶ added in v0.5.10
type LicenseDao struct {
// contains filtered or unexported fields
}
LicenseDao is the data access object for table co_license.
func NewLicenseDao ¶ added in v0.5.10
func NewLicenseDao(proxy ...dao_interface.IDao) *LicenseDao
NewLicenseDao creates and returns a new DAO object for table data access.
func (*LicenseDao) Columns ¶ added in v0.5.10
func (dao *LicenseDao) Columns() LicenseColumns
Columns returns all column names of current dao.
func (*LicenseDao) Ctx ¶ added in v0.5.10
func (dao *LicenseDao) Ctx(ctx context.Context, cacheOption ...*gdb.CacheOption) *gdb.Model
Ctx creates and returns the Model for current DAO, It automatically sets the context for current operation.
func (*LicenseDao) DB ¶ added in v0.5.10
func (dao *LicenseDao) DB() gdb.DB
DB retrieves and returns the underlying raw database management object of current DAO.
func (*LicenseDao) DaoConfig ¶ added in v0.5.10
func (dao *LicenseDao) DaoConfig(ctx context.Context, cacheOption ...*gdb.CacheOption) dao_interface.DaoConfig
func (*LicenseDao) Group ¶ added in v0.5.10
func (dao *LicenseDao) Group() string
Group returns the configuration group name of database of current dao.
func (*LicenseDao) Table ¶ added in v0.5.10
func (dao *LicenseDao) Table() string
Table returns the table name of current dao.
func (*LicenseDao) Transaction ¶ added in v0.5.10
func (dao *LicenseDao) Transaction(ctx context.Context, f func(ctx context.Context, tx gdb.TX) error) (err error)
Transaction wraps the transaction logic using function f. It rollbacks the transaction and returns the error from function f if it returns non-nil error. It commits the transaction and returns nil if function f returns nil.
Note that, you should not Commit or Rollback the transaction in function f as it is automatically handled by this function.