2025-06-06 16:00:39 +08:00

57 lines
1.7 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.Enum;
using VOL.Entity.SystemModels;
namespace VOL.Entity.DomainModels
{
/// <summary>
/// Ai体测数据视频
/// </summary>
[Table("Ai_SportsTestVideo")]
[Entity(TableCnName = "Ai体测数据视频", TableName = "Ai体测数据视频")]
public class Ai_SportsTestVideo : BaseEntity
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Display(Description = "主键Id")]
[Comment("Id")]
public int Id { get; set; }
/// <summary>
/// 文件类型1.原图片,2原视频,3缩略图,4压缩视频高
/// </summary>
[Display(Name = "文件类型")]
[Comment("文件类型")]
[Column(TypeName = "int")]
public int Type { get; set; }
/// <summary>
/// 文件的大小单位MB精确到2位小数
/// </summary>
[Display(Name = "文件的大小")]
[Comment("文件的大小")]
[Column(TypeName = "int")]
public int Size { get; set; }
/// <summary>
/// 文件的链接地址
/// </summary>
[Display(Name = "文件的链接地址")]
[Comment("文件的链接地址")]
[Column(TypeName = "nvarchar(2000)")]
public string Url { get; set; }
/// <summary>
/// 导航属性
/// </summary>
//public Ai_SportsTestData SportsTestData { get; set; }
}
}