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

69 lines
1.9 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_AreaCategory")]
public class N_AreaCategory
{
[Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Display(Description = "主键Id")]
[Comment("Id")]
public int Id { get; set; }
/// <summary>
///类别枚举值
/// </summary>
[Display(Name = "类别枚举值")]
[Comment("类别枚举值")]
[Column(TypeName = "int")]
public int CategoryValue { get; set; }
/// <summary>
///类别中文名称
/// </summary>
[Display(Name = "类别中文名称")]
[Comment("类别中文名称")]
[Column(TypeName = "nvarchar(100)")]
public string CategoryName { 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 Area { get; set; }
/// <summary>
/// 时长
/// </summary>
[Display(Name = "时长")]
[Comment("时长")]
[Column(TypeName = "int")]
public int Duration { get; set; }
/// <summary>
///备注
/// </summary>
[Display(Name = "备注")]
[Comment("备注")]
[Column(TypeName = "text")]
public string Remarks { get; set; }
}
}