|
@@ -7,36 +7,36 @@ import (
|
|
|
|
|
|
// 服务商加入商单的种草任务
|
|
|
type SProjectInfo struct {
|
|
|
- SProjectID int64 `gorm:"column:s_project_id;primary_key;AUTO_INCREMENT"` // 服务商种草任务ID
|
|
|
- ProjectID string `gorm:"column:project_id"` // 被服务商加入商单的原种草任务ID
|
|
|
- ProductID int64 `gorm:"column:product_id"` // 商品ID
|
|
|
- ProjectName string `gorm:"column:project_name"`
|
|
|
- ProjectStatus int64 `gorm:"column:project_status"`
|
|
|
- ProjectType int64 `gorm:"column:project_type"`
|
|
|
- ProjectPlatform int64 `gorm:"column:project_platform"`
|
|
|
- ProjectForm int64 `gorm:"column:project_form"`
|
|
|
- ContentType int64 `gorm:"column:content_type"`
|
|
|
- ShareCode string `gorm:"column:share_code"` // 分享码URL
|
|
|
- EnterpriseID string `gorm:"column:enterprise_id"`
|
|
|
- SupplierID int64 `gorm:"column:supplier_id"` // 服务商ID
|
|
|
- ApplyNum int64 `gorm:"column:apply_num;default:0"` // 报名人数
|
|
|
- RecruitNum int64 `gorm:"column:recruit_num;default:0"` // 已招募人数
|
|
|
- SettleNum int64 `gorm:"column:settle_num;default:0"` // 已结算人数
|
|
|
- QuitNum int64 `gorm:"column:quit_num;default:0"` // 已解约人数
|
|
|
- SubAccountID int64 `gorm:"column:sub_account_id;default:0"` // 服务商子账号ID
|
|
|
- ServiceCharge float64 `gorm:"column:service_charge;default:0.00"` // 服务商预估可赚服务费
|
|
|
- ServiceChargeActual float64 `gorm:"column:service_charge_actual;default:0.00"` // 服务商实际可赚服务费
|
|
|
- ServiceChargeSettle float64 `gorm:"column:service_charge_settle"` // 服务商已结算服务费
|
|
|
- OperatorType int64 `gorm:"column:operator_type;default:0"` // 添加商单操作人类型,1为服务商主账号,2为服务商子账号
|
|
|
- SProjectStatus int64 `gorm:"column:s_project_status;default:0"` // 服务商种草任务状态,1待确认,2已确认,3已拒绝
|
|
|
- StrategyStatus int64 `gorm:"column:strategy_status;default:0"` // 定向种草任务是否替换招募策略
|
|
|
- BOperator string `gorm:"column:b_operator"` // 商家发起入库邀约人
|
|
|
- BOperatorType int64 `gorm:"column:b_operator_type;default:0"` // 商家发起入库邀约人类型:1主账号 2子账号
|
|
|
- CreateTime time.Time `gorm:"column:create_time"` // 创建时间
|
|
|
- CreateStrategyID int64 `gorm:"column:create_strategy_id"` // 服务商修改服务费操作人ID
|
|
|
- CreateStrategyType int64 `gorm:"column:create_strategy_type"` // 服务商修改服务费操作人类型:1服务商主账号,2子账号
|
|
|
- FinishTime time.Time `gorm:"column:finish_time"` // 结案时间
|
|
|
- SupplierType int64 `gorm:"column:supplier_type"` // 服务商类型,1个人,2企业
|
|
|
+ SProjectID int64 `gorm:"column:s_project_id;primary_key;AUTO_INCREMENT"` // 服务商种草任务ID
|
|
|
+ ProjectID string `gorm:"column:project_id"` // 被服务商加入商单的原种草任务ID
|
|
|
+ ProductID int64 `gorm:"column:product_id"` // 商品ID
|
|
|
+ ProjectName string `gorm:"column:project_name"`
|
|
|
+ ProjectStatus int64 `gorm:"column:project_status"`
|
|
|
+ ProjectType int64 `gorm:"column:project_type"`
|
|
|
+ ProjectPlatform int64 `gorm:"column:project_platform"`
|
|
|
+ ProjectForm int64 `gorm:"column:project_form"`
|
|
|
+ ContentType int64 `gorm:"column:content_type"`
|
|
|
+ ShareCode string `gorm:"column:share_code"` // 分享码URL
|
|
|
+ EnterpriseID string `gorm:"column:enterprise_id"`
|
|
|
+ SupplierID int64 `gorm:"column:supplier_id"` // 服务商ID
|
|
|
+ ApplyNum int64 `gorm:"column:apply_num;default:0"` // 报名人数
|
|
|
+ RecruitNum int64 `gorm:"column:recruit_num;default:0"` // 已招募人数
|
|
|
+ SettleNum int64 `gorm:"column:settle_num;default:0"` // 已结算人数
|
|
|
+ QuitNum int64 `gorm:"column:quit_num;default:0"` // 已解约人数
|
|
|
+ SubAccountID int64 `gorm:"column:sub_account_id;default:0"` // 服务商子账号ID
|
|
|
+ ServiceCharge float64 `gorm:"column:service_charge;default:0.00"` // 服务商预估可赚服务费
|
|
|
+ ServiceChargeActual float64 `gorm:"column:service_charge_actual;default:0.00"` // 服务商实际可赚服务费
|
|
|
+ ServiceChargeSettle float64 `gorm:"column:service_charge_settle"` // 服务商已结算服务费
|
|
|
+ OperatorType int64 `gorm:"column:operator_type;default:0"` // 添加商单操作人类型,1为服务商主账号,2为服务商子账号
|
|
|
+ SProjectStatus int64 `gorm:"column:s_project_status;default:0"` // 服务商种草任务状态,1待确认,2已确认,3已拒绝
|
|
|
+ StrategyStatus int64 `gorm:"column:strategy_status;default:0"` // 定向种草任务是否替换招募策略
|
|
|
+ BOperator string `gorm:"column:b_operator"` // 商家发起入库邀约人
|
|
|
+ BOperatorType int64 `gorm:"column:b_operator_type;default:0"` // 商家发起入库邀约人类型:1主账号 2子账号
|
|
|
+ CreateTime *time.Time `gorm:"column:create_time"` // 创建时间
|
|
|
+ CreateStrategyID int64 `gorm:"column:create_strategy_id"` // 服务商修改服务费操作人ID
|
|
|
+ CreateStrategyType int64 `gorm:"column:create_strategy_type"` // 服务商修改服务费操作人类型:1服务商主账号,2子账号
|
|
|
+ FinishTime *time.Time `gorm:"column:finish_time"` // 结案时间
|
|
|
+ SupplierType int64 `gorm:"column:supplier_type"` // 服务商类型,1个人,2企业
|
|
|
}
|
|
|
|
|
|
func (m *SProjectInfo) TableName() string {
|