Files
YABA/API/YABA.Models/BookmarkTag.cs
Carl Tibule a5d5ed048f Created Woodpecker CI/CD deployment
- Created Dockerfile for packing up API and Web projects as Docker image
2024-04-07 14:51:28 -05:00

19 lines
463 B
C#

using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace YABA.Models
{
public class BookmarkTag
{
[Required]
[ForeignKey(nameof(Bookmark))]
public int BookmarkId { get; set; }
public virtual Bookmark Bookmark { get; set; }
[Required]
[ForeignKey(nameof(Tag))]
public int TagId { get; set; }
public virtual Tag Tag { get; set; }
}
}