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.
13 lines
370 B
13 lines
370 B
package jobs_gorm_model
|
|
|
|
// TaskIp 任务Ip
|
|
type TaskIp struct {
|
|
Id int64 `gorm:"primaryKey;comment:记录编号" json:"id"` // 记录编号
|
|
TaskType string `gorm:"comment:任务编号" json:"task_type"` // 任务编号
|
|
Ips string `gorm:"comment:任务IP" json:"ips"` // 任务IP
|
|
}
|
|
|
|
func (m *TaskIp) TableName() string {
|
|
return "task_ip"
|
|
}
|