18 lines
478 B
C#
18 lines
478 B
C#
using Marco.Pms.Model.Utilities;
|
|
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Marco.Pms.Model.DocumentManager
|
|
{
|
|
public class DocumentAttachmentMapping : TenantRelation
|
|
{
|
|
public Guid Id { get; set; }
|
|
|
|
public Guid AttachmentId { get; set; }
|
|
|
|
[ValidateNever]
|
|
[ForeignKey("AttachmentId")]
|
|
public DocumentAttachment? Attachment { get; set; }
|
|
}
|
|
}
|