package models

import "time"

type SSHKey struct {
	ID          int64     `xorm:"'id' pk autoincr"              json:"id"`
	UserID      int64     `xorm:"'user_id' notnull index"       json:"userId"`
	Title       string    `xorm:"'title' notnull varchar(255)"  json:"title"`
	Fingerprint string    `xorm:"'fingerprint' notnull unique"  json:"fingerprint"`
	PublicKey   string    `xorm:"'public_key' text notnull"     json:"publicKey"`
	CreatedAt   time.Time `xorm:"'created_at' created"          json:"createdAt"`
}
