mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-19 16:39:30 +08:00
feat: Implement face clustering management service and API
This commit is contained in:
25
Models/DataBase/FaceCluster.cs
Normal file
25
Models/DataBase/FaceCluster.cs
Normal file
@@ -0,0 +1,25 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace Foxel.Models.DataBase;
|
||||
|
||||
public class FaceCluster : BaseModel
|
||||
{
|
||||
[StringLength(255)]
|
||||
public string Name { get; set; } = string.Empty;
|
||||
|
||||
[StringLength(1024)]
|
||||
public string? Description { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户设置的人物名称
|
||||
/// </summary>
|
||||
[StringLength(255)]
|
||||
public string? PersonName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 最后更新时间
|
||||
/// </summary>
|
||||
public DateTime LastUpdatedAt { get; set; }
|
||||
|
||||
public ICollection<Face>? Faces { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user