46 lines
1.2 KiB
C#
Raw Normal View History

2025-06-06 14:57:20 +08:00
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; }
}
}