PIAPS_CW/DatabaseImplement/Models/MediaFile.cs

23 lines
467 B
C#
Raw Normal View History

2024-06-11 12:18:10 +04:00
using DataModels.Models;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DatabaseImplement.Models
{
public class MediaFile : IMediaFile
{
[Required]
public Guid Id { get; set; }
2024-06-11 12:18:10 +04:00
[Required]
public string Name { get; set; }
[Required]
public string Location { get; set; }
[Required]
public Guid ProductId { get; set; }
2024-06-11 12:18:10 +04:00
}
}