18 lines
461 B
C#
18 lines
461 B
C#
using System.ComponentModel.DataAnnotations.Schema;
|
|
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
|
|
|
|
namespace Marco.Pms.Model.Activities
|
|
{
|
|
public class TaskImages
|
|
{
|
|
public Guid Id { get; set; }
|
|
|
|
public Guid TaskAllocationId { get; set; }
|
|
[ValidateNever]
|
|
[ForeignKey(nameof(TaskAllocationId))]
|
|
public TaskAllocation? TaskAllocation { get; set; }
|
|
|
|
public string? ImagePath { get; set; }
|
|
}
|
|
}
|