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_BackgroundMusic")] public class WCA_BackgroundMusic { [Key] [DatabaseGenerated(DatabaseGeneratedOption.Identity)] [Display(Description = "主键Id")] [Comment("Id")] public int Id { get; set; } /// ///资源类型[1:音乐/2:节拍] /// [Display(Name = "资源类型[1:音乐/2:节拍]")] [Comment("资源类型[1:音乐/2:节拍]")] [Column(TypeName = "int")] public int ResourceType { get; set; } /// ///名称 /// [Display(Name = "名称")] [Comment("名称")] [Column(TypeName = "nvarchar(200)")] public string Name { get; set; } /// ///资源地址 /// [Display(Name = "资源地址")] [Comment("资源地址")] [Column(TypeName = "nvarchar(2000)")] public string Url { get; set; } } }