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 { [Table("Ai_SpecialAction")] [Entity(TableCnName = "专项动作表", TableName = "Ai_SpecialAction")] public class Ai_SpecialAction : BaseEntity { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Display(Description = "主键Id")] [Comment("Id")] public int Id { get; set; } /// /// 专项水平Id /// [Display(Name = "专项水平Id")] [Comment("专项水平Id")] [Column(TypeName = "int")] public int SpecialLevelId { get; set; } /// /// 动作名称 /// [Display(Name = "动作名称")] [Comment("动作名称")] [Column(TypeName = "nvarchar(100)")] public string ActionName { get; set; } /// /// 动作类型 /// [Display(Name = "动作类型")] [Comment("动作类型")] [Column(TypeName = "nvarchar(100)")] public SpecialActionType ActionType { get; set; } /// /// 动作示范-视频路径 /// [Display(Name = "动作示范-视频路径")] [Comment("动作示范-视频路径")] [Column(TypeName = "nvarchar(2000)")] public string ActionVideoPath { get; set; } /// /// 要领讲解-视频路径 /// [Display(Name = "要领讲解-视频路径")] [Comment("要领讲解-视频路径")] [Column(TypeName = "nvarchar(2000)")] public string ExplainVideoPath { get; set; } /// /// 练习方法-视频路径 /// [Display(Name = "练习方法-视频路径")] [Comment("练习方法-视频路径")] [Column(TypeName = "nvarchar(2000)")] public string ExerciseVideoPath { get; set; } /// /// 达标标准-视频路径 /// [Display(Name = "达标标准-视频路径")] [Comment("达标标准-视频路径")] [Column(TypeName = "nvarchar(2000)")] public string StandardVideoPath { get; set; } /// /// 创建人 /// [Display(Name = "创建人")] [Comment("创建人")] [Column(TypeName = "int")] public int? Creator { get; set; } /// /// 创建时间 /// [Display(Name = "创建时间")] [Comment("创建时间")] [Column(TypeName = "datetime")] [Editable(true)] public DateTime? CreateDate { get; set; } /// /// 修改人 /// [Display(Name = "修改人")] [Comment("修改人")] [Column(TypeName = "int")] public int? Modifier { get; set; } /// /// 修改时间 /// [Display(Name = "修改时间")] [Comment("修改时间")] [Column(TypeName = "datetime")] public DateTime? ModifyDate { get; set; } /// /// 专项水平表-导航属性 /// [ForeignKey("SpecialLevelId")] public Ai_SpecialLevel SpecialLevel { get; set; } } }