25 lines
705 B
C#
25 lines
705 B
C#
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace Marco.Pms.Model.ImageGallary
|
|
{
|
|
public class ImageFile
|
|
{
|
|
public Guid Id { get; set; }
|
|
public Guid BatchId { get; set; }
|
|
[ForeignKey("BatchId")]
|
|
[ValidateNever]
|
|
public ImageBatch ImageBatch { get; set; }
|
|
public string FileName { get; set; }
|
|
public string? Description { get; set; }
|
|
|
|
public string S3Key { get; set; }
|
|
public string ThumbS3Key { get; set; }
|
|
public int FileSize { get; set; }
|
|
public string ContentType { get; set; }
|
|
public DateTime UploadedAt { get; set; }
|
|
|
|
}
|
|
}
|
|
|