triggerhistory.go 1.1 KB

12345678910111213141516171819202122232425262728
  1. package triggerhistory
  2. import (
  3. "time"
  4. )
  5. type Trigger_History struct {
  6. Id int `xorm:"not null pk autoincr INT(10)" json:"id"`
  7. AccCode string `xorm:"VARCHAR(50)" json:"acccode"`
  8. ActionType string `xorm:"VARCHAR(50)" json:"type"`
  9. Message string `xorm:"VARCHAR(500)" json:"message"`
  10. IsRead int `xorm:"INT(10)" json:"isread"`
  11. IsSend int `xorm:"INT(10)" json:"issend"`
  12. SendErrorMsg string `xorm:"VARCHAR(50)" json:"err"`
  13. SendTo string `xorm:"VARCHAR(50)" json:"sendto"`
  14. CreateOn time.Time `xorm:"DATETIME created" json:"createon"`
  15. CreateUserId string `xorm:"VARCHAR(50)"`
  16. CreateBy string `xorm:"VARCHAR(50)"`
  17. ModifiedOn time.Time `xorm:"DATETIME updated"`
  18. ModifiedUserId string `xorm:"VARCHAR(50)"`
  19. ModifiedBy string `xorm:"VARCHAR(50)"`
  20. Remark string `xorm:"VARCHAR(1000)" json:"remark"`
  21. AId string `json:"aid"`
  22. AName string `json:"aname"`
  23. AlarmOn time.Time `json:"alarmon"`
  24. BarCodeString string `xorm:"VARCHAR(1000)"`
  25. SampleNum int `xorm:"INT(10)"`
  26. }