package model

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

type Content struct {
    ID uint `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
    S string 
    _Time time.Time
    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
}
