43 lines
1.1 KiB
C#
43 lines
1.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace TechTitans.Models
|
|
{
|
|
[Table ("SongBasicDetails")]
|
|
public class SongBasicDetails
|
|
{
|
|
[Key]
|
|
[Column("song_id")]
|
|
public int Song_Id { get; set; } = 0;
|
|
|
|
[Column("name")]
|
|
public string Name { get; set; } = "DefaultName";
|
|
|
|
[Column("genre")]
|
|
public string Genre { get; set; } = "DefaultGenre";
|
|
|
|
[Column("subgenre")]
|
|
public string Subgenre { get; set; } = "DefaultSubgenre";
|
|
|
|
[Column("artist_id")]
|
|
public int Artist_Id { get; set; } = 0;
|
|
|
|
[Column("language")]
|
|
public string Language { get; set; } = "DefaultLanguage";
|
|
|
|
[Column("country")]
|
|
public string Country { get; set; } = "DefaultCountry";
|
|
|
|
[Column("album")]
|
|
public string Album { get; set; } = "DefaultAlbum";
|
|
|
|
[Column("image")]
|
|
public string Image { get; set; } = "song_img_default.png";
|
|
}
|
|
}
|