Files
BrightSharp.Toolkit/AppleJobs.Data/Models/Articles/NewsCategory.cs

16 lines
428 B
C#
Raw Normal View History

2017-01-09 13:25:52 +03:00
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
2017-01-10 21:06:47 +03:00
namespace AppleJobs.Data.Models.Articles
2017-01-09 13:25:52 +03:00
{
2017-01-10 21:06:47 +03:00
[Table("ApjNewsCategory")]
public class NewsCategory
2017-01-09 13:25:52 +03:00
{
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
2017-01-10 21:06:47 +03:00
public string CategoryName { get; set; }
public string CategoryDescription { get; set; }
2017-01-09 13:25:52 +03:00
}
}