| 1234567891011121314151617181920212223242526272829303132333435363738394041 |
- // Code generated by dol build. DO NOT EDIT.
- // source: auto.go
- package model
- import (
- "github.com/2637309949/dolphin/packages/null"
- )
- // FlarumApiKeys defined
- type FlarumApiKeys struct {
- //
- Key null.String `xorm:"varchar(100) notnull 'key'" json:"key" xml:"key"`
- //
- ID null.Int `xorm:"int(10) pk notnull autoincr 'id'" json:"id" xml:"id"`
- //
- AllowedIps null.String `xorm:"varchar(255) 'allowed_ips'" json:"allowed_ips" xml:"allowed_ips"`
- //
- Scopes null.String `xorm:"varchar(255) 'scopes'" json:"scopes" xml:"scopes"`
- //
- UserId null.Int `xorm:"int(10) 'user_id'" json:"user_id" xml:"user_id"`
- //
- LastActivityAt null.Time `xorm:"datetime 'last_activity_at'" json:"last_activity_at" xml:"last_activity_at"`
- // Creator
- CreateBy null.String `xorm:"varchar(36) comment('Creator') 'create_by'" json:"create_by" xml:"create_by"`
- // Creation time
- CreateTime null.Time `xorm:"datetime comment('Creation time') 'create_time'" json:"create_time" xml:"create_time"`
- // Last updated by
- UpdateBy null.String `xorm:"varchar(36) comment('Last updated by') 'update_by'" json:"update_by" xml:"update_by"`
- // Last update time
- UpdateTime null.Time `xorm:"datetime comment('Last update time') 'update_time'" json:"update_time" xml:"update_time"`
- // Delete tag
- DelFlag null.Int `xorm:"notnull comment('Delete tag') 'del_flag'" json:"del_flag" xml:"del_flag"`
- // Remark
- Remark null.String `xorm:"varchar(200) comment('Remark') 'remark'" json:"remark" xml:"remark"`
- }
- // TableName table name of defined FlarumApiKeys
- func (m *FlarumApiKeys) TableName() string {
- return "flarum_api_keys"
- }
|