You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package models
-
- import (
- "code.gitea.io/gitea/modules/timeutil"
- )
-
- const (
- TaskConfigRefreshRateOnce = "ONCE"
- TaskConfigRefreshRateDaily = "DAILY"
- )
-
- //PointTaskConfig Only add and delete are allowed, edit is not allowed
- //so if you want to edit config for some task code,please delete first and add new one
- type PointTaskConfig struct {
- ID int64 `xorm:"pk autoincr"`
- TaskCode string `xorm:"NOT NULL"`
- Tittle string `xorm:"NOT NULL"`
- RefreshRate string `xorm:"NOT NULL"`
- Times int `xorm:"NOT NULL"`
- AwardPoints int `xorm:"NOT NULL"`
- Status int `xorm:"NOT NULL"`
- Creator int64 `xorm:"NOT NULL"`
- CreatedUnix timeutil.TimeStamp `xorm:"created"`
- DeletedAt timeutil.TimeStamp `xorm:"deleted"`
- }
|