using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ModelsLib { [Table("T_ShootingData")] public class ShootingData { public ShootingData(string key, bool isPhotosSelected, int maxChoice, DateTime shootingDate, string instagramName) { Key = key; IsPhotosSelected = isPhotosSelected; MaxChoice = maxChoice; ShootingDate = shootingDate; InstagramName = instagramName; } [Key] public string Key { get; set; } public bool IsPhotosSelected { get; set; } public int MaxChoice { get; set; } public DateTime ShootingDate { get; set; } public string InstagramName { get; set; } } }