mi-assessment/server/MiAssessment/src/MiAssessment.Model/Models/Assessment/AssessmentHistoryDto.cs
zpc 9f270c3741 refactor(api): 统一API响应格式和DTO命名规范
- ApiResponse基类: Status/Msg 改为 Code/Message,成功码统一为0
- 移除所有DTO中冗余的 [JsonPropertyName],ASP.NET Core 自动处理camelCase
- Payment相关DTO: snake_case 改为 camelCase(微信支付协议模型保留不变)
- PaymentOrderQueryRequest: FromQuery参数名改为camelCase
- GlobalExceptionFilter: 错误码从0改为5000(0表示成功)
- PagedResult: 移除冗余的 [JsonPropertyName]
- 前端index.vue: 统一使用 res.code === 0 判断
2026-02-20 16:35:10 +08:00

38 lines
828 B
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.

namespace MiAssessment.Model.Models.Assessment;
/// <summary>
/// 往期测评记录数据传输对象
/// </summary>
public class AssessmentHistoryDto
{
/// <summary>
/// 测评记录ID
/// </summary>
public long Id { get; set; }
/// <summary>
/// 订单编号
/// </summary>
public string OrderNo { get; set; } = null!;
/// <summary>
/// 测评名称
/// </summary>
public string AssessmentName { get; set; } = null!;
/// <summary>
/// 状态1待测评 2测评中 3生成中 4已完成
/// </summary>
public int Status { get; set; }
/// <summary>
/// 状态文本
/// </summary>
public string StatusText { get; set; } = null!;
/// <summary>
/// 测评日期
/// </summary>
public string TestDate { get; set; } = null!;
}