mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-05-13 07:09:55 +08:00
14 lines
384 B
C#
14 lines
384 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Foxel.Models.DataBase;
|
|
|
|
public class Tag : BaseModel
|
|
{
|
|
[Required] [StringLength(50)] public string Name { get; set; } = string.Empty;
|
|
|
|
[StringLength(200)] public string Description { get; set; } = string.Empty;
|
|
|
|
public ICollection<Picture>? Pictures { get; set; }
|
|
|
|
public ICollection<User>? Users { get; set; }
|
|
} |