2025-06-06 14:57:20 +08:00

77 lines
2.1 KiB
C#

using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace YD_WeChatApplet.Api.SmartSportsEntitys
{
[Table("N_AreaStandards")]
public class N_AreaStandards
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Display(Description = "主键Id")]
[Comment("Id")]
public int Id { get; set; }
/// <summary>
///区域项目Id
/// </summary>
[Display(Name = "区域项目Id")]
[Comment("区域项目Id")]
[Column(TypeName = "int")]
public int AreaCategoryId { get; set; }
/// <summary>
///性别
/// </summary>
[Display(Name = "性别")]
[Comment("性别")]
[Column(TypeName = "int")]
public int Sex { get; set; }
/// <summary>
///类别枚举值
/// </summary>
[Display(Name = "类别名称")]
[Comment("类别名称")]
[Column(TypeName = "nvarchar(100)")]
public string CategoryEnum { get; set; }
/// <summary>
/// 等级
/// </summary>
[Display(Name = "等级")]
[Comment("等级")]
[Column(TypeName = "nvarchar(100)")]
public string Rank { get; set; }
/// <summary>
///得分
/// </summary>
[Display(Name = "得分")]
[Comment("得分")]
[Column(TypeName = "float")]
public float Score { get; set; }
/// <summary>
///标准值(小)
/// </summary>
[Display(Name = "标准值(小)")]
[Comment("标准值(小)")]
[Column(TypeName = "float")]
public float MinValue { get; set; }
/// <summary>
///标准值(大)
/// </summary>
[Display(Name = "标准值(大)")]
[Comment("标准值(大)")]
[Column(TypeName = "float")]
public float MaxValue { get; set; }
}
}