CAMERA V1
This commit is contained in:
79
FATrace.Model/VideoAction.cs
Normal file
79
FATrace.Model/VideoAction.cs
Normal file
@@ -0,0 +1,79 @@
|
||||
using FreeSql.DataAnnotations;
|
||||
|
||||
namespace FATrace.Model
|
||||
{
|
||||
/// <summary>
|
||||
/// 视频事件
|
||||
/// </summary>
|
||||
[Table(Name = "VideoAction")]
|
||||
public class VideoAction
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
[Column(IsPrimary = true, IsIdentity = true)]
|
||||
public long Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Code
|
||||
/// </summary>
|
||||
[Column(Name = "Code", IsNullable = false, StringLength = 100)]
|
||||
public string? Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 用户信息
|
||||
/// </summary>
|
||||
[Column(Name = "User", IsNullable = false, StringLength = 100)]
|
||||
public string? User { get; set; }
|
||||
|
||||
///// <summary>
|
||||
///// 分类信息-CAN/LIN
|
||||
///// </summary>
|
||||
//[Column(Name = "CANLINInfo", IsNullable = false, MapType = typeof(string))]
|
||||
//public CANLIN CANLINInfo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频文件路径
|
||||
/// </summary>
|
||||
[Column(Name = "VideoFilePath", IsNullable = false, StringLength = 200)]
|
||||
public string? VideoFilePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 视频名称
|
||||
/// </summary>
|
||||
[Column(Name = "VideoName", IsNullable = false, StringLength = 100)]
|
||||
public string? VideoName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 开始时间
|
||||
/// </summary>
|
||||
[Column(Name = "StartTime")]
|
||||
public DateTime StartTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 结束时间
|
||||
/// </summary>
|
||||
[Column(Name = "EndTime")]
|
||||
public DateTime EndTime { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
[Column(ServerTime = DateTimeKind.Local, CanUpdate = true)]
|
||||
public DateTime CreateTime { get; set; }
|
||||
|
||||
|
||||
///// <summary>
|
||||
///// ///////////////////////////////////////////导航属性///////////////////////////////////////////////////////
|
||||
///// </summary>
|
||||
|
||||
//public List<CanLinRWConfig>? CanLinConfigContents { get; set; }
|
||||
|
||||
|
||||
///// <summary>
|
||||
///// ///////////////////////////////////////////导航属性 LIN 一对一///////////////////////////////////////////////////////
|
||||
///// </summary>
|
||||
//public long CANFdConfigExdId { get; set; } // 外键字段,必要
|
||||
//public CANFdConfigExd CANFdConfigExd { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user