mirror of
https://github.com/VitalickS/BrightSharp.Toolkit.git
synced 2026-03-21 10:21:16 +00:00
v1.0
This commit is contained in:
15
AppleJobs.Data/Models/Articles/NewsCategory.cs
Normal file
15
AppleJobs.Data/Models/Articles/NewsCategory.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace AppleJobs.Data.Models.Articles
|
||||
{
|
||||
[Table("ApjNewsCategory")]
|
||||
public class NewsCategory
|
||||
{
|
||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public int Id { get; set; }
|
||||
public string CategoryName { get; set; }
|
||||
public string CategoryDescription { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user