info_pricing_strategy.go 1.8 KB

123456789101112131415161718192021222324252627
  1. // Code generated by sql2gorm. DO NOT EDIT.
  2. package gorm_model
  3. import (
  4. "time"
  5. )
  6. type InfoPricingStrategy struct {
  7. ID int64 `gorm:"column:id;primary_key;AUTO_INCREMENT"` // id
  8. ProjectType int64 `gorm:"column:project_type;NOT NULL"` // 项目类型,0表示不限,1为全流程项目
  9. StrategyId string `gorm:"column:strategyId;NOT NULL"` // 定价策略编号
  10. FeeForm int64 `gorm:"column:fee_form;NOT NULL"` // 稿费形式,1,2,3分别代表产品置换、固定稿费、自报价
  11. Platform int64 `gorm:"column:platform;NOT NULL"` // 项目平台,1-7分别代表红book、抖音、微博、快手、b站、大众点评、知乎
  12. FansLow int64 `gorm:"column:fans_low;NOT NULL"` // 对应粉丝量下限
  13. FansUp int64 `gorm:"column:fans_up;NOT NULL"` // 对应粉丝量上限
  14. ServiceCharge float64 `gorm:"column:service_charge"` // 服务费,稿费形式为产品置换时填写,可以为空
  15. BaseOffer float64 `gorm:"column:base_offer"` // 基础报价
  16. Status int64 `gorm:"column:status;NOT NULL"` // 定价策略当前状态,0表示正常,1表示禁用
  17. ServiceRate int64 `gorm:"column:service_rate"` // 服务费率*1000,稿费形式为固定稿费和自报价时填写,可以为空
  18. UpdateID int64 `gorm:"column:update_id"` // 修改管理人员id,对应user表中主键
  19. UpdateAt time.Time `gorm:"column:update_at"` // 修改时间
  20. CreateAt time.Time `gorm:"column:create_at;NOT NULL"` // 创建时间
  21. }
  22. func (m *InfoPricingStrategy) TableName() string {
  23. return "info_pricing_strategy"
  24. }