11
This commit is contained in:
1 parent
f6b37348c4
commit
917f03bc58
61 files changed
+4233
-367
No files matched your search
@@ -41,6 +41,18 @@ class FaceEntity extends Equatable {
|
||||
/// 同步时间
|
||||
DateTime? updateTime;
|
||||
|
||||
/// 最近一次在库图片质量分,范围为0到1;未检测或检测失败时为空。
|
||||
double? qualityScore;
|
||||
|
||||
/// 质量检测状态,持久化值为pending、detected或failed。
|
||||
String qualityStatus;
|
||||
|
||||
/// 最近一次质量检测完成时间;从未检测时为空。
|
||||
DateTime? qualityCheckedAt;
|
||||
|
||||
/// 最近一次质量检测的虹软或插件错误码;成功时为空。
|
||||
int? qualityErrorCode;
|
||||
|
||||
FaceEntity({
|
||||
this.id,
|
||||
required this.userId,
|
||||
@@ -53,6 +65,10 @@ class FaceEntity extends Equatable {
|
||||
this.faceModel,
|
||||
this.createTime,
|
||||
this.updateTime,
|
||||
this.qualityScore,
|
||||
this.qualityStatus = 'pending',
|
||||
this.qualityCheckedAt,
|
||||
this.qualityErrorCode,
|
||||
});
|
||||
|
||||
factory FaceEntity.fromJson(Map<String, dynamic> json) =>
|
||||
|
||||
Reference in new issue
Block a user