using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace PSTW_CentralSystem.Areas.IT.Models
{
    [Table("it_request_sharedperms")]
    public class ItRequestSharedPermission
    {
        [Key]
        public int Id { get; set; }

        public int ItRequestId { get; set; }
        [ForeignKey("ItRequestId")]
        public ItRequest? Request { get; set; }

        [MaxLength(100)]
        public string? ShareName { get; set; }

        public bool CanRead { get; set; }
        public bool CanWrite { get; set; }
        public bool CanDelete { get; set; }
        public bool CanRemove { get; set; }
    }
}
