59 lines
1.6 KiB
C#
59 lines
1.6 KiB
C#
|
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; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///用户Id
|
|||
|
/// </summary>
|
|||
|
[Display(Name = "用户Id")]
|
|||
|
[Comment("用户Id")]
|
|||
|
[Column(TypeName = "int)")]
|
|||
|
public int UserId { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///分类Id
|
|||
|
/// </summary>
|
|||
|
[Display(Name = "分类Id")]
|
|||
|
[Comment("分类Id")]
|
|||
|
[Column(TypeName = "int)")]
|
|||
|
public int TaxonomyId { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///兑换码
|
|||
|
/// </summary>
|
|||
|
[Display(Name = "兑换码")]
|
|||
|
[Comment("兑换码")]
|
|||
|
[Column(TypeName = "nvarchar(1000)")]
|
|||
|
public string RedeemCode { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///备注
|
|||
|
/// </summary>
|
|||
|
[Display(Name = "备注")]
|
|||
|
[Comment("备注")]
|
|||
|
[Column(TypeName = "text")]
|
|||
|
public string Remarks { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///创建时间
|
|||
|
/// </summary>
|
|||
|
[Display(Name = "创建时间")]
|
|||
|
[Comment("创建时间")]
|
|||
|
[Column(TypeName = "datetime")]
|
|||
|
public DateTime CreateDate { get; set; }
|
|||
|
}
|
|||
|
}
|