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; } /// ///类别枚举值 /// [Display(Name = "类别枚举值")] [Comment("类别枚举值")] [Column(TypeName = "int")] public int CategoryValue { get; set; } /// ///类别中文名称 /// [Display(Name = "类别中文名称")] [Comment("类别中文名称")] [Column(TypeName = "nvarchar(100)")] public string CategoryName { get; set; } /// ///类别枚举名称 /// [Display(Name = "类别枚举名称")] [Comment("类别枚举名称")] [Column(TypeName = "nvarchar(100)")] public string CategoryEnum { get; set; } /// ///区域 /// [Display(Name = "区域")] [Comment("区域")] [Column(TypeName = "nvarchar(100)")] public string Area { get; set; } /// /// 时长 /// [Display(Name = "时长")] [Comment("时长")] [Column(TypeName = "int")] public int Duration { get; set; } /// ///备注 /// [Display(Name = "备注")] [Comment("备注")] [Column(TypeName = "text")] public string Remarks { get; set; } } }