mirror of
https://github.com/VitalickS/BrightSharp.Toolkit.git
synced 2026-03-21 02:21:15 +00:00
16 lines
428 B
C#
16 lines
428 B
C#
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; }
|
|
|
|
}
|
|
}
|