home_email_message.auto.go 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Code generated by dol build. DO NOT EDIT.
  2. // source: auto.go
  3. package model
  4. import (
  5. "github.com/2637309949/dolphin/packages/null"
  6. )
  7. // HomeEmailMessage defined
  8. type HomeEmailMessage struct {
  9. //
  10. T2840 null.Int `xorm:"int(11) pk notnull autoincr 't_284_0'" json:"t_284_0" xml:"t_284_0"`
  11. //
  12. Title null.String `xorm:"varchar(500) 'title'" json:"title" xml:"title"`
  13. //
  14. Content null.String `xorm:"varchar(2000) 'content'" json:"content" xml:"content"`
  15. //
  16. Email null.String `xorm:"varchar(50) 'email'" json:"email" xml:"email"`
  17. //
  18. Sendtime null.Time `xorm:"datetime 'sendtime'" json:"sendtime" xml:"sendtime"`
  19. //
  20. IfSend null.Int `xorm:"int(11) 'if_send'" json:"if_send" xml:"if_send"`
  21. //
  22. IfSendcn null.String `xorm:"varchar(50) 'if_sendcn'" json:"if_sendcn" xml:"if_sendcn"`
  23. //
  24. UserId null.Int `xorm:"int(11) 'user_id'" json:"user_id" xml:"user_id"`
  25. //
  26. StuId null.Int `xorm:"int(11) 'stu_id'" json:"stu_id" xml:"stu_id"`
  27. //
  28. Creater null.String `xorm:"varchar(36) 'creater'" json:"creater" xml:"creater"`
  29. //
  30. CreateDate null.Time `xorm:"datetime 'create_date'" json:"create_date" xml:"create_date"`
  31. //
  32. Updater null.String `xorm:"varchar(36) 'updater'" json:"updater" xml:"updater"`
  33. //
  34. UpdateDate null.Time `xorm:"datetime 'update_date'" json:"update_date" xml:"update_date"`
  35. }
  36. // TableName table name of defined HomeEmailMessage
  37. func (m *HomeEmailMessage) TableName() string {
  38. return "home_email_message"
  39. }