46 lines
1.2 KiB
C#
46 lines
1.2 KiB
C#
![]() |
using Microsoft.EntityFrameworkCore;
|
|||
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.ComponentModel.DataAnnotations;
|
|||
|
using System.ComponentModel.DataAnnotations.Schema;
|
|||
|
|
|||
|
namespace YD_WeChatApplet.Api.Entitys
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// 我的播放列表表
|
|||
|
/// </summary>
|
|||
|
[Table("WCA_MyPlayList")]
|
|||
|
public class WCA_MyPlayList
|
|||
|
{
|
|||
|
[Key]
|
|||
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|||
|
[Display(Description = "主键Id")]
|
|||
|
[Comment("Id")]
|
|||
|
public int Id { get; set; }
|
|||
|
|
|||
|
/// <summary>
|
|||
|
///资源类型
|
|||
|
/// </summary>
|
|||
|
[Display(Name = "资源类型")]
|
|||
|
[Comment("资源类型")]
|
|||
|
[Column(TypeName = "int")]
|
|||
|
public int ResourceType { 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 ResourceDetailsId { get; set; }
|
|||
|
}
|
|||
|
}
|