using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace YD_WeChatApplet.Api.Entitys
{
///
/// 资源详情表
///
[Table("WCA_ResourceDetails")]
public class WCA_ResourceDetails
{
[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 ResourceTypeId { get; set; }
///
///资源名称
///
[Display(Name = "资源名称")]
[Comment("资源名称")]
[Column(TypeName = "nvarchar(200)")]
public string ResourceName { get; set; }
///
///封面地址
///
[Display(Name = "封面地址")]
[Comment("封面地址")]
[Column(TypeName = "nvarchar(2000)")]
public string ImageUrl { get; set; }
///
///资源地址
///
[Display(Name = "资源地址")]
[Comment("资源地址")]
[Column(TypeName = "nvarchar(2000)")]
public string ResourceUrl { get; set; }
}
}