package triggerhistory import ( "time" ) type Trigger_History struct { Id int `xorm:"not null pk autoincr INT(10)" json:"id"` AccCode string `xorm:"VARCHAR(50)" json:"acccode"` ActionType string `xorm:"VARCHAR(50)" json:"type"` Message string `xorm:"VARCHAR(500)" json:"message"` IsRead int `xorm:"INT(10)" json:"isread"` IsSend int `xorm:"INT(10)" json:"issend"` SendErrorMsg string `xorm:"VARCHAR(50)" json:"err"` SendTo string `xorm:"VARCHAR(50)" json:"sendto"` CreateOn time.Time `xorm:"DATETIME created" json:"createon"` CreateUserId string `xorm:"VARCHAR(50)"` CreateBy string `xorm:"VARCHAR(50)"` ModifiedOn time.Time `xorm:"DATETIME updated"` ModifiedUserId string `xorm:"VARCHAR(50)"` ModifiedBy string `xorm:"VARCHAR(50)"` Remark string `xorm:"VARCHAR(1000)" json:"remark"` AId string `json:"aid"` AName string `json:"aname"` AlarmOn time.Time `json:"alarmon"` BarCodeString string `xorm:"VARCHAR(1000)"` SampleNum int `xorm:"INT(10)"` }