aliyun_avatar.gen.go 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. // Code generated by gorm.io/gen. DO NOT EDIT.
  2. // Code generated by gorm.io/gen. DO NOT EDIT.
  3. // Code generated by gorm.io/gen. DO NOT EDIT.
  4. package model
  5. import (
  6. "time"
  7. "gorm.io/gorm"
  8. )
  9. const TableNameAliyunAvatar = "aliyun_avatar"
  10. // AliyunAvatar 阿里云数字人记录表
  11. type AliyunAvatar struct {
  12. ID int64 `gorm:"column:id;primaryKey;autoIncrement:true" json:"id"`
  13. CreatedAt time.Time `gorm:"column:created_at;not null;comment:Create Time | 创建日期" json:"created_at"` // Create Time | 创建日期
  14. UpdatedAt time.Time `gorm:"column:updated_at;not null;comment:Update Time | 修改日期" json:"updated_at"` // Update Time | 修改日期
  15. DeletedAt gorm.DeletedAt `gorm:"column:deleted_at;comment:Delete Time | 删除日期" json:"deleted_at"` // Delete Time | 删除日期
  16. UserID int64 `gorm:"column:user_id;comment:userID" json:"user_id"` // userID
  17. BizID string `gorm:"column:biz_id;comment:bizId" json:"biz_id"` // bizId
  18. AccessKeyID string `gorm:"column:access_key_id" json:"access_key_id"`
  19. AccessKeySecret string `gorm:"column:access_key_secret" json:"access_key_secret"`
  20. AppID string `gorm:"column:app_id" json:"app_id"`
  21. TenantID string `gorm:"column:tenant_id" json:"tenant_id"`
  22. Response string `gorm:"column:response" json:"response"`
  23. Token string `gorm:"column:token" json:"token"`
  24. SessionID string `gorm:"column:session_id" json:"session_id"`
  25. }
  26. // TableName AliyunAvatar's table name
  27. func (*AliyunAvatar) TableName() string {
  28. return TableNameAliyunAvatar
  29. }