初步版本251204

This commit is contained in:
2025-12-04 18:39:34 +08:00
parent cd1ec78a11
commit 9dd458ae8b
17 changed files with 1089 additions and 522 deletions

View File

@@ -33,10 +33,34 @@ namespace FATrace.Model
public string? RawCode { get; set; }
/// <summary>
/// 视频链接
/// Video 开始时间(默认当前时间 - 30秒
/// </summary>
[Column(Name = "VideoUrl", IsNullable = false, StringLength = 500)]
public string? VideoUrl{ get; set; }
[Column(IsNullable = false)]
public DateTime VideoStartTime { get; set; }
/// <summary>
/// Video 结束时间(默认当前时间)
/// </summary>
[Column(IsNullable = false)]
public DateTime VideoEndTime { get; set; }
/// <summary>
/// 视频本地保存路径
/// </summary>
[Column(Name = "VideoFilePath", IsNullable = false, StringLength = 500)]
public string? VideoFilePath { get; set; }
/// <summary>
/// 视频名称
/// </summary>
[Column(Name = "VideoName", IsNullable = false, StringLength = 100)]
public string? VideoName { get; set; }
///// <summary>
///// 视频链接
///// </summary>
//[Column(Name = "VideoUrl", IsNullable = false, StringLength = 500)]
//public string? VideoUrl{ get; set; }
/// <summary>
/// 用户信息
@@ -44,11 +68,11 @@ namespace FATrace.Model
[Column(Name = "User", IsNullable = false, StringLength = 100)]
public string? User { get; set; }
/// <summary>
/// URl状态
/// </summary>
[Column(Name = "UrlState", IsNullable = false)]
public bool UrlState { get; set; }
///// <summary>
///// URl状态
///// </summary>
//[Column(Name = "UrlState", IsNullable = false)]
//public bool UrlState { get; set; }
///// <summary>
///// 视频信息
@@ -62,15 +86,15 @@ namespace FATrace.Model
[Column(ServerTime = DateTimeKind.Local, CanUpdate = true)]
public DateTime CreateTime { get; set; }
/// <summary>
/// ///////////////////////////////////////////导航属性 LIN 一对一///////////////////////////////////////////////////////
/// </summary>
public long VideoActionId { get; set; } // 外键字段,必要
///// <summary>
///// ///////////////////////////////////////////导航属性 LIN 一对一///////////////////////////////////////////////////////
///// </summary>
//public long VideoActionId { get; set; } // 外键字段,必要
/// <summary>
/// 视频信息
/// </summary>
public VideoAction? VideoAction { get; set; }
///// <summary>
///// 视频信息
///// </summary>
//public VideoAction? VideoAction { get; set; }
}
}