49 lines
1.1 KiB
C#
49 lines
1.1 KiB
C#
![]() |
using Microsoft.EntityFrameworkCore;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using System.Linq;
|
|||
|
using System.Text;
|
|||
|
using System.Threading.Tasks;
|
|||
|
using VOL.Entity.Enum;
|
|||
|
using Newtonsoft.Json;
|
|||
|
|
|||
|
namespace VOL.Model
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 学生训练趋势图表
|
|||
|
/// </summary>
|
|||
|
public class TrainingStudentDataTrendModel
|
|||
|
{/// <summary>
|
|||
|
/// 日期(日期格式:MM-dd)
|
|||
|
/// </summary>
|
|||
|
public string? Date
|
|||
|
{
|
|||
|
get
|
|||
|
{
|
|||
|
if (InsertTime.HasValue)
|
|||
|
{
|
|||
|
return InsertTime.Value.ToString("MM-dd");
|
|||
|
}
|
|||
|
else
|
|||
|
{
|
|||
|
return null;
|
|||
|
}
|
|||
|
}
|
|||
|
set { }
|
|||
|
}
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 日期
|
|||
|
/// </summary>
|
|||
|
[JsonIgnore]
|
|||
|
public DateTime? InsertTime { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// 数值
|
|||
|
/// </summary>
|
|||
|
public double? Number { get; set; }
|
|||
|
}
|
|||
|
}
|