deliver_study.go 542 B

1234567891011121314151617
  1. package entity
  2. type DeliverStudy struct {
  3. Id int `db:"id" json:"id"`
  4. Title string `db:"title" json:"title"`
  5. Desc string `db:"desc" json:"desc"`
  6. Content string `db:"content" json:"content"`
  7. Flag string `db:"flag" json:"flag"`
  8. Sortno int `db:"sortno" json:"sortno"`
  9. Type string `db:"typ" json:"type"`
  10. }
  11. type DeliverStudyLog struct {
  12. Openid string `db:"openid" json:"openid"`
  13. DeliverStudyId int `db:"deliver_study_id" json:"deliver_study_id"`
  14. DeliverUserId int `db:"-" json:"deliver_user_id"`
  15. }