// Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. // Code generated by gorm.io/gen. DO NOT EDIT. package model const TableNameProjectUserInfoLog = "project_user_info_log" // ProjectUserInfoLog mapped from table type ProjectUserInfoLog struct { ID int64 `gorm:"column:id;type:bigint;primaryKey" json:"id"` CreatedAt int64 `gorm:"column:created_at;type:bigint;not null;index:idx_user_id_created_at,priority:2" json:"created_at"` UpdatedAt int64 `gorm:"column:updated_at;type:bigint;not null" json:"updated_at"` ProjectID int64 `gorm:"column:project_id;type:bigint;not null;index:idx_project_id_created_at,priority:1;comment:项目id(project_id)" json:"project_id"` UserID int64 `gorm:"column:user_id;type:bigint;not null;index:idx_user_id_created_at,priority:1;comment:用户id(project_user表)" json:"user_id"` Source string `gorm:"column:source;type:varchar(64);not null;comment:来源标识" json:"source"` ReqURL string `gorm:"column:req_url;type:varchar(255);not null;comment:请求地址" json:"req_url"` Req string `gorm:"column:req;type:varchar(255);not null;comment:请求数据" json:"req"` Resp string `gorm:"column:resp;type:varchar(255);not null;comment:返回数据" json:"resp"` RespCode int32 `gorm:"column:resp_code;type:int;not null;comment:返回状态码" json:"resp_code"` ReqTime int64 `gorm:"column:req_time;type:bigint;not null;comment:请求时长(单位:ms)" json:"req_time"` ErrMsg string `gorm:"column:err_msg;type:varchar(255);not null;comment:错误信息" json:"err_msg"` Token string `gorm:"column:token;type:varchar(255);not null;comment:请求token" json:"token"` ReqHeader string `gorm:"column:req_header;type:varchar(255);not null;comment:请求头数据" json:"req_header"` } // TableName ProjectUserInfoLog's table name func (*ProjectUserInfoLog) TableName() string { return TableNameProjectUserInfoLog }