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