using Microsoft.AspNetCore.Http;
using System;

namespace WK_KLI_LAPS_Service.Models.Master
{
    public class userModel
    {
        public int userid { get; set; }
        public string firstname { get; set; }
        public string lastname { get; set; }
        public string username { get; set; }
        public string emailid { get; set; }
        public int teamid { get; set; }
        public string team { get; set; }
        public int roleid { get; set; }
        public string rolename { get; set; }
        public string contactno { get; set; }
        public int createdby { get; set; }
        public DateTime createdon { get; set; }
        public int? updatedby { get; set; }
        public DateTime? updatedon { get; set; }
        public int active { get; set; }
        public string password { get; set; }
        public byte[] passwordhash { get; set; }
        public byte[] passwordsalt { get; set; }
        public int singlesignon { get; set; }
        public int userrequest { get; set; }
        public int requestapproval { get; set; }
        public int requestapprovedby { get; set; }
        public DateTime? requestraisedon { get; set; }
        public DateTime? requestapprovedon { get; set; }
        public int loggedinflag { get; set; }

        public string databasemapped { get; set; }
        public string menumapped { get; set; }

        public string profileimagepath { get; set; }

        public IFormFile ImgFile { get; set; }
        public int accessrequestid { get; set; }

        public string comment { get; set; }

        public string requestmapped { get; set; }

        public string userrole { get; set; }
        public Int64? departmentid { get; set; }
        public Int64? authorizerid { get; set; }
        public string department { get; set; }
        public string location { get; set; }
        public Int16? isremove { get; set; }
        public string createdbyname { get; set; }
        public string updatedbyname { get; set; }
        public bool isrolemap { get; set; }
        public int isarchive { get; set; }
        public long empid { get; set; }
        /*public Int32? tat_mapping { get; set; }
        public string usermailfoldername { get; set; }*/
    }
    public class accessrequestModel
    {
        public int accessrequestid { get; set; }
        public string firstname { get; set; }
        public string lastname { get; set; }
        public string emailid { get; set; }
        public string comment { get; set; }
        public string ipaddress { get; set; }
        public DateTime createdon { get; set; }
        public int approvedby { get; set; }
        public DateTime approvedon { get; set; }
        public int approvedstatus { get; set; }

    }
    public class loginhistoryModel
    {
        public int Logid { get; set; }
        public int Userid { get; set; }
        public string loggedin { get; set; }
        public string loggedout { get; set; }
        public string ipaddress { get; set; }


    }
    public class useractivitylogModel
    {
        public int userlogid { get; set; }
        public int userid { get; set; }
        public string useraction { get; set; }
        public string dateofaction { get; set; }
        public string ipaddress { get; set; }
        public string description { get; set; }
    }
    public class activitylogmodel
    {
        public int active_p { get; set; }
        public string requesttype_p { get; set; }
        public int pageno_p { get; set; }
        public int itemsperpage_p { get; set; }
        public string mode_p { get; set; }
        public string sorting_p { get; set; }
        public string searchcondition_p { get; set; }

    }

    public class usermailfoldermapping_model
    {
        public Int64 usrmailfolderid { get; set; }
        public string usrmailfoldername { get; set; }
        public Int64 usrmailfoldermappingid { get; set; }
        public Int64 createdby { get; set; }
        public Int64 updatedby { get; set; }
        public int active { get; set; }
        public DateTime createdon { get; set; }
        public DateTime updatedon { get; set; }

        public Int64 userid { get; set; }

    }
}
