55 lines
1.6 KiB
C#
55 lines
1.6 KiB
C#
using SqlSugar;
|
|
using System.ComponentModel;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Net;
|
|
using UserCenter.Model.Enum;
|
|
using VideoAnalysisCore.AICore.SherpaOnnx;
|
|
using VideoAnalysisCore.Enum;
|
|
using VideoAnalysisCore.Model.Interface;
|
|
using Whisper.net;
|
|
|
|
namespace VideoAnalysisCore.Model
|
|
{
|
|
/// <summary>
|
|
/// 课堂评分标准
|
|
/// </summary>
|
|
[SugarTable("coursegradingcriteria")]
|
|
public class CourseGradingCriteria: IDB
|
|
{
|
|
/// <summary>
|
|
/// Id
|
|
/// </summary>
|
|
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
|
|
[DisplayName("编号"), Required]
|
|
public long Id { get; set; }
|
|
/// <summary>
|
|
/// 标准提问词
|
|
/// </summary>
|
|
[SugarColumn(Length = 100)]
|
|
[DisplayName("标准提问词"), Required]
|
|
public string NamePrompt { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// 总分值
|
|
/// </summary>
|
|
[SugarColumn( DefaultValue = "10", Length = 8, DecimalDigits = 1)]
|
|
[DisplayName("总分值"), Required]
|
|
public decimal TotalScore { get; set; } = 10;
|
|
/// <summary>
|
|
/// 绑定学科
|
|
/// </summary>
|
|
[SugarColumn( IsNullable = true)]
|
|
[DisplayName("绑定学科")]
|
|
public SubjectEnum? Subject { get; set; }
|
|
|
|
/// <summary>
|
|
/// 合格分值
|
|
/// </summary>
|
|
[SugarColumn(DefaultValue = "6", Length = 8, DecimalDigits = 1)]
|
|
[DisplayName("合格分值"), Required]
|
|
public decimal PassScore { get; set; } = 6;
|
|
|
|
}
|
|
}
|