Browse Source

测试增加

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/537/head
zouap 3 years ago
parent
commit
e540cdd3ae
1 changed files with 25 additions and 0 deletions
  1. +25
    -0
      models/user_business_analysis.go

+ 25
- 0
models/user_business_analysis.go View File

@@ -0,0 +1,25 @@
package models

import (
"code.gitea.io/gitea/modules/timeutil"
)

type User_business_analysis struct {
ID int64 `xorm:"pk"`
countDate int64 `xorm:"pk"`

codeMergeCount int `xorm:"NOT NULL DEFAULT 0"`
commitCount int `xorm:"NOT NULL DEFAULT 0"`
issueCount int `xorm:"NOT NULL DEFAULT 0"`
commentCount int `xorm:"NOT NULL DEFAULT 0"`
focusRepoCount int `xorm:"NOT NULL DEFAULT 0"`
starRepoCount int `xorm:"NOT NULL DEFAULT 0"`
watchedCount int `xorm:"NOT NULL DEFAULT 0"`
giteaAgeMonth int `xorm:"NOT NULL DEFAULT 0"`
commitCodeSize int `xorm:"NOT NULL DEFAULT 0"`
commitDatasetSize int `xorm:"NOT NULL DEFAULT 0"`
commitModelCount int `xorm:"NOT NULL DEFAULT 0"`
solveIssueCount int `xorm:"NOT NULL DEFAULT 0"`
encyclopediasCount int `xorm:"NOT NULL DEFAULT 0"`
registDate timeutil.TimeStamp `xorm:"NOT NULL"`
}

Loading…
Cancel
Save