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

namespace PSTW_CentralSystem.Areas.IT.Models
{
    [Table("it_request_asset_info")]

    public class ItRequestAssetInfo
    {
        public int Id { get; set; }
        public int ItRequestId { get; set; }

        public string? AssetNo { get; set; }
        public string? MachineId { get; set; }
        public string? IpAddress { get; set; }
        public string? WiredMac { get; set; }
        public string? WifiMac { get; set; }
        public string? DialupAcc { get; set; }
        public string? Remarks { get; set; }

        public DateTime? LastEditedAt { get; set; }
        public int? LastEditedByUserId { get; set; }
        public string? LastEditedByName { get; set; }

        public bool RequestorAccepted { get; set; }
        public DateTime? RequestorAcceptedAt { get; set; }

        public bool ItAccepted { get; set; }
        public DateTime? ItAcceptedAt { get; set; }
        public int? ItAcceptedByUserId { get; set; }
        public string? ItAcceptedByName { get; set; }

        public bool SectionBSent { get; set; }           // default false
        public DateTime? SectionBSentAt { get; set; }
    }
}
