overseas_ma_pt.auto.go 991 B

123456789101112131415161718192021222324252627282930313233
  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. // OverseasMaPt defined
  8. type OverseasMaPt struct {
  9. //
  10. OMPId null.Int `xorm:"int(11) pk notnull autoincr 'o_m_p_id'" json:"o_m_p_id" xml:"o_m_p_id"`
  11. //
  12. MaId null.Int `xorm:"int(11) 'ma_id'" json:"ma_id" xml:"ma_id"`
  13. //
  14. PtId null.Int `xorm:"int(11) 'pt_id'" json:"pt_id" xml:"pt_id"`
  15. //
  16. Creater null.String `xorm:"varchar(36) 'creater'" json:"creater" xml:"creater"`
  17. //
  18. CreateDate null.Time `xorm:"datetime 'create_date'" json:"create_date" xml:"create_date"`
  19. //
  20. Updater null.String `xorm:"varchar(36) 'updater'" json:"updater" xml:"updater"`
  21. //
  22. UpdateDate null.Time `xorm:"datetime 'update_date'" json:"update_date" xml:"update_date"`
  23. //
  24. Isdelete null.Int `xorm:"notnull 'isdelete'" json:"isdelete" xml:"isdelete"`
  25. }
  26. // TableName table name of defined OverseasMaPt
  27. func (m *OverseasMaPt) TableName() string {
  28. return "overseas_ma_pt"
  29. }