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
{
///
/// 学生训练趋势图表
///
public class TrainingStudentDataTrendModel
{///
/// 日期(日期格式:MM-dd)
///
public string? Date
{
get
{
if (InsertTime.HasValue)
{
return InsertTime.Value.ToString("MM-dd");
}
else
{
return null;
}
}
set { }
}
///
/// 日期
///
[JsonIgnore]
public DateTime? InsertTime { get; set; }
///
/// 数值
///
public double? Number { get; set; }
}
}