task_logistics.go 2.0 KB

1234567891011121314151617181920212223242526272829
  1. // Code generated by sql2gorm. DO NOT EDIT.
  2. package entity
  3. import (
  4. "time"
  5. )
  6. // 物流表
  7. type TaskLogistics struct {
  8. LogisticsID int64 `gorm:"column:logistics_id;primary_key;AUTO_INCREMENT"` // 货物-id
  9. CompanyName string `gorm:"column:company_name"` // 实物商品-物流公司名称
  10. LogisticsNumber string `gorm:"column:logistics_number"` // 实物商品-物流单号
  11. ExplorestoreStarttime time.Time `gorm:"column:explorestore_starttime"` // 线下探店-探店开始时间
  12. ExplorestoreEndtime time.Time `gorm:"column:explorestore_endtime"` // 线下探店-探店结束时间
  13. ExplorestorePeriod string `gorm:"column:explorestore_period"` // 线下探店-探店持续时间
  14. CouponCodeInformation string `gorm:"column:coupon_code_information"` // 虚拟产品-券码信息
  15. TaskID string `gorm:"column:task_id;NOT NULL"` // 任务id
  16. DeliveryTime time.Time `gorm:"column:delivery_time"` // 发货时间
  17. ThingsType int64 `gorm:"column:things_type;NOT NULL"` // 任务类型:1 实物,2:线下探店,3:虚拟产品
  18. SignedTime time.Time `gorm:"column:signed_time"` // 实物商品-签收时间
  19. AutoSignAt time.Time `gorm:"column:auto_sign_at"` // 自动签收时间
  20. AutoScriptBreakAt time.Time `gorm:"column:auto_script_break_at"` // 脚本违约自动处理时间
  21. AutoSketchBreakAt time.Time `gorm:"column:auto_sketch_break_at"` // 初稿违约自动处理时间
  22. Status int64 `gorm:"column:status;default:0"` // 签收状态,0为未签收,1为已签收
  23. }
  24. func (m *TaskLogistics) TableName() string {
  25. return "youngee_task_logistics"
  26. }