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.
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('文件ID, GUID, 防止用户恶意探测整数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)" `
RecordTime time . Time ` xorm:"not null comment('上传时间') DATETIME" `
SourceIndentityId int32 ` xorm:"not null comment('上传人身份') INT(11)" `
SourcePersonId 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)" `
}