using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace YD_WeChatApplet.Api.SmartSportsEntitys { /// /// 课程购买记录表 /// [Table("Y_CurricularPurchaseRecord")] public class Y_CurricularPurchaseRecord { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Display(Description = "主键Id")] [Comment("Id")] public int Id { get; set; } /// ///用户Id /// [Display(Name = "用户Id")] [Comment("用户Id")] [Column(TypeName = "int)")] public int UserId { get; set; } /// ///分类Id /// [Display(Name = "分类Id")] [Comment("分类Id")] [Column(TypeName = "int)")] public int TaxonomyId { get; set; } /// ///兑换码 /// [Display(Name = "兑换码")] [Comment("兑换码")] [Column(TypeName = "nvarchar(1000)")] public string RedeemCode { get; set; } /// ///备注 /// [Display(Name = "备注")] [Comment("备注")] [Column(TypeName = "text")] public string Remarks { get; set; } /// ///创建时间 /// [Display(Name = "创建时间")] [Comment("创建时间")] [Column(TypeName = "datetime")] public DateTime CreateDate { get; set; } } }