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.
|
- // Code generated by goctl. DO NOT EDIT.
-
- package models
-
- import (
- "github.com/zeromicro/go-zero/core/stores/sqlx"
- )
-
- type (
- defaultTHashcatModel struct {
- conn sqlx.SqlConn
- table string
- }
-
- THashcat struct {
- Id int64 `db:"id"` // id
- CrackTaskId string `db:"crack_task_id"` // 任务id
- CrackContainerId string `db:"container_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"` // 结果
- Started string `db:"started"` // 开始时间
- Stopped string `db:"stopped"` // 结束时间
- CreatedBy int64 `db:"created_by"` // 创建人
- UpdatedBy int64 `db:"updated_by"` // 更新人
- DeletedFlag int64 `db:"deleted_flag"` // 是否删除(0-否,1-是)
- }
- )
-
- func newTHashcatModel(conn sqlx.SqlConn) *defaultCloudModel {
- return &defaultCloudModel{
- conn: conn,
- table: "`cloud`",
- }
- }
|