using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Abp.Domain.Entities.Auditing;
using WeOnlineApp.Authorization.Users;
using WeOnlineApp.Configuration;
namespace WeOnlineApp.TrainingCamp
{
///
/// 演练得分信息
///
[Table("Train_CampPlayScores")]
public class CampPlayScoreInfo : CreationAuditedEntity
{
///
/// 培训营编号
///
[MaxLength(IwbConsts.PrimaryKey), Index]
public string CampNo { get; set; }
///
/// 演练营
///
[MaxLength(IwbConsts.PrimaryKey), Index]
public string PlayNo { get; set; }
[ForeignKey("PlayNo")]
public CampPlayInfo CampPlayInfo { get; set; }
///
/// 演练名称
///
[NotMapped]
public string PlayName => CampPlayInfo?.Name ?? "";
///
/// 轮次
///
public int RoundIndex { get; set; }
///
/// 系统评分
///
public decimal SystemScore { get; set; }
///
/// 行为标签得分信息
///
public string BehaviorTagScoreInfo { get; set; }
}
}