Add alias entity

This commit is contained in:
Andrey Chervyakov 2021-09-24 19:59:31 +06:00
parent e1516e450b
commit d119d9ba1a
3 changed files with 13 additions and 2 deletions

View file

@ -0,0 +1,11 @@
package alias
import "time"
type Alias struct {
Id string
LinkId int64
CreationTime time.Time
}
type Aliases = []*Alias

View file

@ -6,7 +6,7 @@ import (
)
type Link struct {
Id string
Id int64
Name string
RedirectURL url.URL
Password string