mirror of
https://github.com/VitalickS/BrightSharp.Toolkit.git
synced 2026-03-21 02:21:15 +00:00
Initial
This commit is contained in:
15
AppleJobs.Data/Models/ModelsJobs/ModelCategory.cs
Normal file
15
AppleJobs.Data/Models/ModelsJobs/ModelCategory.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace AppleJobs.Data.Models.ModelsJobs
|
||||
{
|
||||
public class ModelCategory
|
||||
{
|
||||
[Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; }
|
||||
|
||||
public string FilterString { get { return string.Format("{0}", Name); } }
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user