121 lines
3.0 KiB
C#
121 lines
3.0 KiB
C#
|
|
namespace YD_Event.Core.Entities;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 裁判评分明细表
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarTable("EventJudgeScoreDetail")]
|
|||
|
|
public class EventJudgeScoreDetail : Entity<long>, ISoftDelete, ICreatedUserId, ICreatedTime, IUpdatedUserId, IUpdatedTime
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// 关联的裁判评分单ID
|
|||
|
|
/// </summary>
|
|||
|
|
public long ScoreSheetId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 关联的计分规则明细ID
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsNullable = true)]
|
|||
|
|
public long? ScoreRuleItemId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 评分项编码
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(Length = 64)]
|
|||
|
|
public string ItemCode { get; set; } = null!;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 评分项名称(快照)
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(Length = 128)]
|
|||
|
|
public string ItemName { get; set; } = null!;
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 评分对象编码(如 A、B)
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(Length = 32, IsNullable = true)]
|
|||
|
|
public string? SubjectCode { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 评分项类型:1-难度计数,2-规定元素,3-表现维度,4-扣分项,5-取消资格,6-规定赛评分项
|
|||
|
|
/// </summary>
|
|||
|
|
public int ItemType { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 得分维度:0-不计入,1-难度分,2-表现分,3-规定分,4-扣分
|
|||
|
|
/// </summary>
|
|||
|
|
public int ScoreDimension { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 录入数量
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(DecimalDigits = 4, IsNullable = true)]
|
|||
|
|
public decimal? CountValue { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 录入分值
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(DecimalDigits = 4, IsNullable = true)]
|
|||
|
|
public decimal? InputValue { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 单位分值
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(DecimalDigits = 4, IsNullable = true)]
|
|||
|
|
public decimal? UnitValue { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 本项小计
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(DecimalDigits = 4)]
|
|||
|
|
public decimal Subtotal { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 是否自动生成
|
|||
|
|
/// </summary>
|
|||
|
|
public bool IsAutoGenerated { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 来源评分项编码
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(Length = 64, IsNullable = true)]
|
|||
|
|
public string? ParentItemCode { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 扩展信息(JSON)
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(Length = 1000, IsNullable = true)]
|
|||
|
|
public string? ExtensionJson { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 排序
|
|||
|
|
/// </summary>
|
|||
|
|
public int Sort { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 标记删除
|
|||
|
|
/// </summary>
|
|||
|
|
public bool DeleteMark { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建人
|
|||
|
|
/// </summary>
|
|||
|
|
public long CreatedUserId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 创建时间
|
|||
|
|
/// </summary>
|
|||
|
|
public DateTime CreatedTime { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 更新人
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsNullable = true)]
|
|||
|
|
public long? UpdatedUserId { get; set; }
|
|||
|
|
|
|||
|
|
/// <summary>
|
|||
|
|
/// 更新时间
|
|||
|
|
/// </summary>
|
|||
|
|
[SugarColumn(IsNullable = true)]
|
|||
|
|
public DateTime? UpdatedTime { get; set; }
|
|||
|
|
}
|