github.com/swishcloud/filesync@v0.0.0-20231002120458-6ade2feed6f9/storage/models/models.go (about)

     1  package models
     2  
     3  import "time"
     4  
     5  type Log struct {
     6  	Insert_time time.Time
     7  	P_id        *string
     8  	Action      int
     9  	Number      int64
    10  	File_id     string
    11  	File_type   int
    12  	File_name   string
    13  	File_md5    *string
    14  	File_size   *int64
    15  }
    16  type CreateFileAction struct {
    17  	Name     string
    18  	Md5      string
    19  	Location string
    20  	IsHidden bool
    21  }
    22  
    23  type CreateDirectoryAction struct {
    24  	Path     string
    25  	IsHidden bool
    26  }
    27  
    28  type File struct {
    29  	Id           string
    30  	Name         string
    31  	File_type    int
    32  	Status       int
    33  	Md5          *string
    34  	Download_md5 *string
    35  	Server_md5   *string
    36  	Is_merged    bool
    37  	Is_deleted   *bool
    38  }