Add project files
This commit is contained in:
17
T120B165-ImgBoard/Models/Tag.cs
Normal file
17
T120B165-ImgBoard/Models/Tag.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace T120B165_ImgBoard.Models;
|
||||
|
||||
public enum TagType
|
||||
{
|
||||
General,
|
||||
Copyright,
|
||||
}
|
||||
|
||||
public class Tag
|
||||
{
|
||||
[Key]
|
||||
public required string Name { get; init; }
|
||||
|
||||
public required TagType Type { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user