- 标注:AI 预标注直写 labels_json(去候选确认两阶段);重叠去重(minIoU);全量标注按钮 - 训练:脚本迁移入 server/training/(Go 化 prepare_yolo/analyze_rfdetr,保留 train_server.py);tflite 产物自检并入训练流程(check_tflite) - 数据目录/权重不进 git;.gitignore 迁移至仓库根
15 lines
890 B
Go
15 lines
890 B
Go
package entity
|
|
|
|
import "github.com/gogf/gf/v2/os/gtime"
|
|
|
|
// License 手机号账号与授权:一账号一记录;password 不对外(json 排除);
|
|
// expires_at 未充值(含被撤销)时为 NULL;购买的套餐记录在 payment_order,本表不存。
|
|
type License struct {
|
|
PhoneNum string `json:"phoneNum" orm:"phone_num" description:"手机号账号(主键)"`
|
|
Password string `json:"-" orm:"password" description:"bcrypt 加盐哈希"`
|
|
ExpiresAt *gtime.Time `json:"expiresAt" orm:"expires_at" description:"到期时间(自然日,服务端时区),未充值 NULL"`
|
|
Remark string `json:"remark" orm:"remark" description:"管理端备注(客户端不可见)"`
|
|
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"注册时间"`
|
|
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"`
|
|
}
|