package model

import (
   "time"
   "gorm.io/gorm"
)

type Content struct {
    ID int64 `gorm:"primarykey"`
    Route string
    Time uint
    Passwd string
    Date time.Time
    Size uint
    Time1 time.Time
    Time2 uint
    Url1 string
}

type Sid struct {
    gorm.Model
    Time time.Time
    S string 
    Url1 []Url  `gorm:"many2many:sid_urls;"` 
}

type Url struct
{
    gorm.Model
    Url1 string
}

type Users struct {
    SessionId string
    Username string
    Passwd string    
    Name string
    Size uint
    Route string
}
