23 lines
658 B
C#
23 lines
658 B
C#
using Marco.Pms.Model.DocumentManager;
|
|
using Marco.Pms.Model.Utilities;
|
|
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Marco.Pms.Model.ServiceProject
|
|
{
|
|
public class TalkingPointAttachment : TenantRelation
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid DocumentId { get; set; }
|
|
|
|
[ValidateNever]
|
|
[ForeignKey("DocumentId")]
|
|
public Document? Document { get; set; }
|
|
public Guid? TalkingPointId { get; set; }
|
|
|
|
[ValidateNever]
|
|
[ForeignKey("TalkingPointId")]
|
|
public TalkingPoint? TalkingPoint { get; set; }
|
|
}
|
|
}
|