38 lines
1.3 KiB
Go
38 lines
1.3 KiB
Go
// Code generated by goctl. DO NOT EDIT.
|
||
|
||
package model
|
||
|
||
import (
|
||
"database/sql"
|
||
"github.com/zeromicro/go-zero/core/stores/sqlx"
|
||
)
|
||
|
||
type (
|
||
defaultTHashcatModel struct {
|
||
conn sqlx.SqlConn
|
||
table string
|
||
}
|
||
|
||
THashcat struct {
|
||
Id int64 `db:"id"` // id
|
||
CrackTaskId int64 `db:"crack_task_id"` // 任务id
|
||
CrackStatus string `db:"crack_status"` // 状态
|
||
CrackStartTime string `db:"crack_start_time"` //开始时间
|
||
CrackEstimatedTime string `db:"crack_estimated_time"` // 预计时间
|
||
CrackProgress string `db:"crack_progress"` // 进度
|
||
CrackResult string `db:"crack_result"` // 结果
|
||
CreatedBy int64 `db:"created_by"` // 创建人
|
||
CreatedTime sql.NullTime `db:"created_time"` // 创建时间
|
||
UpdatedBy int64 `db:"updated_by"` // 更新人
|
||
UpdatedTime sql.NullTime `db:"updated_time"` // 更新时间
|
||
DeletedFlag int64 `db:"deleted_flag"` // 是否删除(0-否,1-是)
|
||
}
|
||
)
|
||
|
||
func newTHashcatModel(conn sqlx.SqlConn) *defaultCloudModel {
|
||
return &defaultCloudModel{
|
||
conn: conn,
|
||
table: "`cloud`",
|
||
}
|
||
}
|