You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
1.4 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package models
import (
"time"
)
type TZhxyFile struct {
FileId string `xorm:"not null pk comment('文件IDGUID防止用户恶意探测整数ID') CHAR(36)"`
FileName string `xorm:"not null comment('文件名称') VARCHAR(255)"`
ExtName string `xorm:"not null comment('扩展名') VARCHAR(10)"`
TypeId int32 `xorm:"not null comment('文件、视频、图片') index INT(11)"`
UploadTime time.Time `xorm:"not null comment('上传时间') DATETIME"`
UploadIndentityId int32 `xorm:"not null comment('上传人身份') INT(11)"`
UploadPersonId int32 `xorm:"not null comment('上传人ID') INT(11)"`
TargetIdentityId int32 `xorm:"not null comment('接收方身份ID如果对方是群组标识-1') INT(11)"`
TargetPersonId int32 `xorm:"not null comment('接收人ID如果对方是群组标识-1') INT(11)"`
TargetGroupId int32 `xorm:"not null comment('接收群组ID如果对方是具体的员标识-1') INT(11)"`
SystemId int32 `xorm:"not null comment('系统ID') index INT(11)"`
FileSize int32 `xorm:"not null comment('文件大小') INT(11)"`
BaseId string `xorm:"not null default '-1' comment('基文件ID如果不是复制出来的就是-1') CHAR(36)"`
BUse int32 `xorm:"not null comment('是否已删除1正常-1已删除') index INT(11)"`
}