22 lines
589 B
C#
22 lines
589 B
C#
using Marco.Pms.Model.Utilities;
|
|
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Marco.Pms.Model.ServiceProject
|
|
{
|
|
public class JobTagMapping : TenantRelation
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid JobTagId { get; set; }
|
|
|
|
[ValidateNever]
|
|
[ForeignKey("JobTagId")]
|
|
public JobTag? JobTag { get; set; }
|
|
public Guid JobTicketId { get; set; }
|
|
|
|
[ValidateNever]
|
|
[ForeignKey("JobTicketId")]
|
|
public JobTicket? JobTicket { get; set; }
|
|
}
|
|
}
|