mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
code-first migration
This commit is contained in:
parent
41b6926631
commit
ecd2ceb8db
1 changed files with 1 additions and 8 deletions
|
|
@ -1,14 +1,7 @@
|
|||
using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace FilterLists.Models
|
||||
namespace FilterLists.Models
|
||||
{
|
||||
public class List : BaseEntity
|
||||
{
|
||||
[Key]
|
||||
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
||||
public new int Id { get; set; }
|
||||
|
||||
public string Description { get; set; }
|
||||
public string DescriptionSourceUrl { get; set; }
|
||||
public string DonateUrl { get; set; }
|
||||
|
|
|
|||
Loading…
Reference in a new issue