Created Woodpecker CI/CD deployment
- Created Dockerfile for packing up API and Web projects as Docker image
This commit is contained in:
18
API/YABA.Models/BookmarkTag.cs
Normal file
18
API/YABA.Models/BookmarkTag.cs
Normal file
@ -0,0 +1,18 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user