co_do

package
v0.7.50 Latest Latest
Warning

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

Go to latest
Published: May 11, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Company

type Company struct {
	g.Meta        `orm:"table:co_company, do:true"`
	Id            interface{} // ID
	Name          interface{} // 名称
	ContactName   interface{} // 商务联系人
	ContactMobile interface{} // 商务联系电话
	UserId        interface{} // 管理员ID
	State         interface{} // 状态:0未启用,1正常
	Remark        interface{} // 备注
	CreatedBy     interface{} // 创建者
	CreatedAt     *gtime.Time // 创建时间
	UpdatedBy     interface{} // 更新者
	UpdatedAt     *gtime.Time // 更新时间
	DeletedBy     interface{} // 删除者
	DeletedAt     *gtime.Time // 删除时间
	ParentId      interface{} // 父级ID
	Address       interface{} // 地址
	LicenseId     interface{} // 主体资质id
	LicenseState  interface{} // 主体状态,和主体资质状态保持一致
}

Company is the golang structure of table co_company for DAO operations like Where/Data.

type CompanyEmployee

type CompanyEmployee struct {
	g.Meta       `orm:"table:co_company_employee, do:true"`
	Id           interface{} // ID,保持与USERID一致
	No           interface{} // 工号
	Avatar       interface{} // 头像
	Name         interface{} // 姓名
	Mobile       interface{} // 手机号
	UnionMainId  interface{} // 所属主体
	State        interface{} // 状态: -1已离职,0待确认,1已入职
	LastActiveIp interface{} // 最后活跃IP
	HiredAt      *gtime.Time // 入职时间
	CreatedBy    interface{} //
	CreatedAt    *gtime.Time //
	UpdatedBy    interface{} //
	UpdatedAt    *gtime.Time //
	DeletedBy    interface{} //
	DeletedAt    *gtime.Time //
	Sex          interface{} // 性别:0女 1男
	Remark       interface{} // 备注
}

CompanyEmployee is the golang structure of table co_company_employee for DAO operations like Where/Data.

type CompanyTeam

type CompanyTeam struct {
	g.Meta            `orm:"table:co_company_team, do:true"`
	Id                interface{} // ID
	Name              interface{} // 团队名称,公司维度下唯一
	OwnerEmployeeId   interface{} // 团队所有者/业务总监/业务经理/团队队长
	CaptainEmployeeId interface{} // 团队队长编号/小组组长
	UnionMainId       interface{} // 所属主体单位ID
	ParentId          interface{} // 父级ID
	Remark            interface{} // 备注
	CreatedAt         *gtime.Time //
	UpdatedAt         *gtime.Time //
	DeletedAt         *gtime.Time //
}

CompanyTeam is the golang structure of table co_company_team for DAO operations like Where/Data.

type CompanyTeamMember

type CompanyTeamMember struct {
	g.Meta       `orm:"table:co_company_team_member, do:true"`
	Id           interface{} // ID
	TeamId       interface{} // 团队ID
	EmployeeId   interface{} // 成员ID
	InviteUserId interface{} // 邀约人ID
	UnionMainId  interface{} // 关联主体ID
	JoinAt       *gtime.Time // 加入时间
}

CompanyTeamMember is the golang structure of table co_company_team_member for DAO operations like Where/Data.

type FdAccount added in v0.1.112

type FdAccount struct {
	g.Meta             `orm:"table:co_fd_account, do:true"`
	Id                 interface{} // ID
	Name               interface{} // 账户名称
	UnionLicenseId     interface{} // 关联资质ID,大于0时必须保值与 union_user_id 关联得上
	UnionUserId        interface{} // 关联用户ID
	CurrencyCode       interface{} // 货币代码
	IsEnabled          interface{} // 是否启用:1启用,0禁用
	LimitState         interface{} // 限制状态:0不限制,1限制支出、2限制收入
	PrecisionOfBalance interface{} // 货币单位精度:1:元,10:角,100:分,1000:厘,10000:毫,……
	Balance            interface{} // 当前余额,必须要与账单最后一笔交易余额对应得上
	Version            interface{} // 乐观锁所需数据版本字段
	CreatedAt          *gtime.Time //
	CreatedBy          interface{} //
	UpdatedAt          *gtime.Time //
	UpdatedBy          interface{} //
	DeletedAt          *gtime.Time //
	DeletedBy          interface{} //
	SceneType          interface{} // 场景类型:0不限、1充电佣金收入
	AccountType        interface{} // 账户类型:1系统账户、2银行卡、3支付宝、4微信、5云闪付、6翼支付
	AccountNumber      interface{} // 账户编号,例如银行卡号、支付宝账号、微信账号等对应账户类型的编号
	UnionMainId        interface{} // 关联主体ID,与union_license_id 中的union_main_id 一致
	AllowExceed        interface{} // 是否允许存在负余额: 0禁止、1允许
}

FdAccount is the golang structure of table co_fd_account for DAO operations like Where/Data.

type FdAccountBill added in v0.1.112

type FdAccountBill struct {
	g.Meta        `orm:"table:co_fd_account_bill, do:true"`
	Id            interface{} // ID
	FromUserId    interface{} // 交易发起方UserID,如果是系统则固定为-1
	ToUserId      interface{} // 交易对象UserID
	FdAccountId   interface{} // 财务账户ID
	BeforeBalance interface{} // 交易前账户余额
	Amount        interface{} // 交易金额
	AfterBalance  interface{} // 交易后账户余额
	UnionOrderId  interface{} // 关联业务订单ID
	InOutType     interface{} // 收支类型:1收入,2支出
	TradeType     interface{} // 交易类型,1转账、2消费、4退款、8佣金、16保证金、32诚意金、64手续费/服务费、128提现、256充值、512营收,8192其它
	TradeAt       *gtime.Time // 交易时间
	Remark        interface{} // 备注信息
	TradeState    interface{} // 交易状态:1待支付、2支付中、4已支付、8取消支付、16交易完成、32退款中、64已退款、128支付超时、256已关闭
	DeletedAt     *gtime.Time //
	CreatedAt     *gtime.Time //
	CreatedBy     interface{} //
}

FdAccountBill is the golang structure of table co_fd_account_bill for DAO operations like Where/Data.

type FdAccountDetail added in v0.3.12

type FdAccountDetail struct {
	g.Meta            `orm:"table:co_fd_account_detail, do:true"`
	Id                interface{} // 和财务账号 id保持一致
	TodayAccountSum   interface{} // 今日金额
	TodayUpdatedAt    *gtime.Time // 今日金额更新时间
	WeekAccountSum    interface{} // 本周金额
	WeekUpdatedAt     *gtime.Time // 本周金额更新时间
	MonthAccountSum   interface{} // 本月金额
	MonthUpdatedAt    *gtime.Time // 本月金额更新时间
	QuarterAccountSum interface{} // 本季度金额统计
	QuarterUpdatedAt  *gtime.Time // 本季度金额更新时间
	YearAccountSum    interface{} // 本年度金额统计
	YearUpdatedAt     *gtime.Time // 本年度金额更新时间
	UnionMainId       interface{} // 关联主体id
	SysUserId         interface{} // 关联用户id
	Version           interface{} // 乐观锁所需数据版本字段
	SceneType         interface{} // 场景类型:0不限、1充电佣金收入
}

FdAccountDetail is the golang structure of table co_fd_account_detail for DAO operations like Where/Data.

type FdBankCard added in v0.1.112

type FdBankCard struct {
	g.Meta        `orm:"table:co_fd_bank_card, do:true"`
	Id            interface{} // ID
	BankName      interface{} // 银行名称
	CardType      interface{} // 银行卡类型:1借记卡,2储蓄卡
	CardNumber    interface{} // 银行卡号
	ExpiredAt     *gtime.Time // 有效期
	HolderName    interface{} // 银行卡开户名
	BankOfAccount interface{} // 开户行
	State         interface{} // 状态:0禁用,1正常
	Remark        interface{} // 备注信息
	UserId        interface{} // 用户id,表示属于谁
	CreatedAt     *gtime.Time //
	CreatedBy     interface{} //
	UpdatedAt     *gtime.Time //
	UpdatedBy     interface{} //
	DeletedAt     *gtime.Time //
	DeletedBy     interface{} //
}

FdBankCard is the golang structure of table co_fd_bank_card for DAO operations like Where/Data.

type FdCurrency added in v0.1.112

type FdCurrency struct {
	g.Meta        `orm:"table:co_fd_currency, do:true"`
	Code          interface{} // 国家编码
	EnName        interface{} // 国家英文名称
	CnName        interface{} // 国家中文名称
	CurrencyCode  interface{} // 货币编码
	CurrencyCn    interface{} // 货币中文名称
	CurrencyEn    interface{} // 货币英文名称
	Symbol        interface{} // 货币符号
	SymbolNative  interface{} // 货币原生符号
	IsLegalTender interface{} // 是否法定货币:1是,0否
	CurrencyRate  interface{} // 货币汇率,本币为人民币
}

FdCurrency is the golang structure of table co_fd_currency for DAO operations like Where/Data.

type FdInvoice added in v0.1.112

type FdInvoice struct {
	g.Meta        `orm:"table:co_fd_invoice, do:true"`
	Id            interface{} //
	Name          interface{} // 发票抬头名称
	TaxId         interface{} // 纳税识别号
	Addr          interface{} // 发票收件地址,限纸质
	Email         interface{} // 发票收件邮箱,限电子发票
	UserId        interface{} // 申请人UserID
	AuditUserId   interface{} // 审核人UserID
	AuditReplyMsg interface{} // 审核回复,仅审核不通过时才有值
	AuditAt       *gtime.Time // 审核时间
	State         interface{} // 状态:0待审核、1已通过、-1不通过
	UnionMainId   interface{} // 主体ID:运营商ID、服务商ID、商户ID、消费者ID
	CreatedAt     *gtime.Time //
	CreatedBy     interface{} //
	UpdatedAt     *gtime.Time //
	UpdatedBy     interface{} //
	DeletedAt     *gtime.Time //
	DeletedBy     interface{} //
}

FdInvoice is the golang structure of table co_fd_invoice for DAO operations like Where/Data.

type FdInvoiceDetail added in v0.1.112

type FdInvoiceDetail struct {
	g.Meta        `orm:"table:co_fd_invoice_detail, do:true"`
	Id            interface{} // ID
	TaxNumber     interface{} // 纳税识别号
	TaxName       interface{} // 纳税人名称
	BillIds       interface{} // 账单ID组
	Amount        interface{} // 开票金额,单位精度:分
	Rate          interface{} // 税率,如3% 则填入3
	RateMount     interface{} // 税额,单位精度:分
	Remark        interface{} // 发布内容描述
	Type          interface{} // 发票类型:1电子发票,2纸质发票
	State         interface{} // 状态:1待审核、2待开票、4开票失败、8已开票、16已撤销
	AuditUserIds  interface{} // 审核者UserID,多个用逗号隔开
	MakeType      interface{} // 出票类型:1普通发票、2增值税专用发票、3专业发票
	MakeUserId    interface{} // 出票人UserID,如果是系统出票则默认-1
	MakeAt        *gtime.Time // 出票时间
	CourierName   interface{} // 快递名称,限纸质发票
	CourierNumber interface{} // 快递编号,限纸质发票
	FdInvoiceId   interface{} // 发票抬头ID
	AuditUserId   interface{} // 审核者UserID
	AuditReplyMsg interface{} // 审核回复,仅审核不通过时才有值
	AuditAt       *gtime.Time // 审核时间
	UserId        interface{} // 申请者用户ID
	UnionMainId   interface{} // 主体ID:运营商ID、服务商ID、商户ID、消费者ID
	Email         interface{} // 发票收件邮箱,限电子发票
	CreatedAt     *gtime.Time //
	CreatedBy     interface{} //
	UpdatedAt     *gtime.Time //
	UpdatedBy     interface{} //
	DeletedAt     *gtime.Time //
	DeletedBy     interface{} //
	BelongTo      interface{} // 发票拥有者类型:1个人  2主体
}

FdInvoiceDetail is the golang structure of table co_fd_invoice_detail for DAO operations like Where/Data.

type License added in v0.5.10

type License struct {
	g.Meta                     `orm:"table:co_license, do:true"`
	Id                         interface{} //
	IdcardFrontPath            interface{} // 身份证头像面照片
	IdcardBackPath             interface{} // 身份证国徽面照片
	IdcardNo                   interface{} // 身份证号
	IdcardExpiredDate          *gtime.Time // 身份证有效期
	IdcardAddress              interface{} // 身份证户籍地址
	PersonContactName          interface{} // 负责人,必须是自然人
	PersonContactMobile        interface{} // 负责人,联系电话
	BusinessLicenseName        interface{} // 公司全称
	BusinessLicenseAddress     interface{} // 公司地址
	BusinessLicensePath        interface{} // 营业执照图片地址
	BusinessLicenseScope       interface{} // 经营范围
	BusinessLicenseRegCapital  interface{} // 注册资本
	BusinessLicenseTermTime    interface{} // 营业期限
	BusinessLicenseOrgCode     interface{} // 组织机构代码
	BusinessLicenseCreditCode  interface{} // 统一社会信用代码
	BusinessLicenseLegal       interface{} // 法人
	BusinessLicenseLegalPath   interface{} // 法人证照,如果法人不是自然人,则该项必填
	LatestAuditLogId           interface{} // 最新的审核记录ID
	State                      interface{} // 状态:0失效、1正常
	AuthType                   interface{} // 认证类型:
	Remark                     interface{} // 备注信息
	UpdatedAt                  *gtime.Time //
	CreatedAt                  *gtime.Time //
	DeletedAt                  *gtime.Time //
	BrandName                  interface{} // 品牌名称
	BusinessLicenseLegalMobile interface{} // 法人联系电话
	ServerMobile               interface{} // 服务电话
}

License is the golang structure of table co_license for DAO operations like Where/Data.

Jump to

Keyboard shortcuts

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