operation_log.go 439 B

12345678910111213141516
  1. package models
  2. import model2 "Medical_ERP/common/model"
  3. type OperationLog struct {
  4. ID string `json:"id" gorm:"primaryKey,size:36"`
  5. UrlKey string `json:"url_key" gorm:"size:128"`
  6. Describe string `json:"describe" gorm:"type:longtext"`
  7. DataID string `json:"data_id" gorm:"size:36"`
  8. Detailed string `json:"detailed" gorm:"type:longtext"`
  9. model2.ModelTime
  10. }
  11. func (OperationLog) TableName() string {
  12. return "operation_log"
  13. }