public CuocGoiEntity(long idCuocGoi, DateTime thoiDiemGoi, int line, string phoneNumber, int soLanGoi, string diaChiDonKhach, int vung, string loaiXe, int soLuongXe, KieuKhachHangGoiDen loaiKhachHang,
                             bool isCuocGiaLap, KieuCuocGoi kieuCuocGoi, string lenhDienThoai, string ghiChuDT, string lenhTongDai, string ghiChuTD, TrangThaiLenhTaxi trangThaiLenh,
                             string maNVDT, string maNVTD, int thoiGianChuyenTD, string dsXeDeCu, DateTime thoiDiemXeDeCu, string dsXeDeCu_TD, double KD, double VD, string strXeNhan, string strXeNhan_TD,
                             string LenhMoiKhach, string NhanVienMoiKhach, string xeDenDiem, string xeDenDiemDonKhach, string xeDenDiemDonKhach_TD, TrangThaiCuocGoiTaxi trangthaicuocgoitaxi)
        {
            this.IDCuocGoi             = idCuocGoi;
            this.ThoiDiemGoi           = thoiDiemGoi;
            this.Line                  = line;
            this.PhoneNumber           = phoneNumber;
            this.SoLanGoi              = soLanGoi;
            this.DiaChiDonKhach        = diaChiDonKhach;
            this.Vung                  = vung;
            this.LoaiXe                = loaiXe;
            this.SoLuongXe             = soLuongXe;
            this.LoaiKhachHang         = loaiKhachHang;
            this.IsCuocGiaLap          = isCuocGiaLap;
            this.KieuCuocGoi           = kieuCuocGoi;
            this.LenhDienThoai         = lenhDienThoai;
            this.GhiChuDienThoai       = ghiChuDT;
            this.LenhTongDai           = lenhTongDai;
            this.GhiChuTongDai         = ghiChuTD;
            this.TrangThaiLenh         = trangThaiLenh;
            this.MaNhanVienDienThoai   = maNVDT;
            this.MaNhanVienTongDai     = maNVTD;
            this.ThoiGianChuyenTongDai = thoiGianChuyenTD;

            this.DanhSachXeDeCu        = dsXeDeCu;
            this.DanhSachXeDeCu_TD     = dsXeDeCu_TD;
            this.ThoiDiemCapNhatXeDeCu = thoiDiemXeDeCu;
            this.GPS_ViDo              = VD;
            this.GPS_KinhDo            = KD;
            this.XeNhan                = strXeNhan;
            this.XeNhan_TD             = strXeNhan_TD;
            this.MOIKHACH_LenhMoiKhach = LenhMoiKhach;
            this.MOIKHACH_NhanVien     = NhanVienMoiKhach;
            XeDenDiem            = xeDenDiem;
            XeDenDiemDonKhach    = xeDenDiemDonKhach;
            XeDenDiemDonKhach_TD = xeDenDiemDonKhach_TD;
            TrangThaiCuocGoi     = trangthaicuocgoitaxi;
        }
        //  [ID] ,line,phoneNumber,soLan,[DiaChiDonKhach] ,[Vung] ,[LoaiXe] ,[SoLuongXe] ,[LoaiKhachHang]  ,[IsCuocGiaLap]
        // ,[KieuCuocGoi] ,[LenhDienThoai]  ,[TrangThaiLenh] ,[GhiChuDienThoai] ,[MaNhanVienDienThoai]
        //    ,[ThoiGianChuyenTongDai]    ,[DanhSachXe_DeCu] ,[ThoiDiemCapNhatXeDeCu]
        /// <summary>
        /// khoi tao cuoc goi tu dien thoai --> tongdai
        /// </summary>
        /// <param name="idCuocGoi"></param>
        /// <param name="diaChiDonKhach"></param>
        /// <param name="vung"></param>
        /// <param name="loaiXe"></param>
        /// <param name="soLuongXe"></param>
        /// <param name="loaiKhachHang"></param>
        /// <param name="isCuocGiaLap"></param>
        /// <param name="kieuCuocGoi"></param>
        /// <param name="lenhDienThoai"></param>
        /// <param name="ghiChuDT"></param>
        /// <param name="trangThaiLenh"></param>
        /// <param name="maNVDT"></param>
        /// <param name="thoiGianChuyenTD"></param>
        /// <param name="dsXeDeCu"></param>
        /// <param name="thoiDiemXeDeCu"></param>
        public CuocGoiEntity(long idCuocGoi, DateTime thoiDiemGoi, int line, string phoneNumber, int soLanGoi, string diaChiDonKhach, int vung, string loaiXe, int soLuongXe, KieuKhachHangGoiDen loaiKhachHang,
                             bool isCuocGiaLap, KieuCuocGoi kieuCuocGoi, string lenhDienThoai, string ghiChuDT, TrangThaiLenhTaxi trangThaiLenh,
                             string maNVDT, int thoiGianChuyenTD, string dsXeDeCu, DateTime thoiDiemXeDeCu, string dsXeDeCu_TD, double KD, double VD)
        {
            this.IDCuocGoi             = idCuocGoi;
            this.ThoiDiemGoi           = thoiDiemGoi;
            this.Line                  = line;
            this.PhoneNumber           = phoneNumber;
            this.SoLanGoi              = soLanGoi;
            this.DiaChiDonKhach        = diaChiDonKhach;
            this.Vung                  = vung;
            this.LoaiXe                = loaiXe;
            this.SoLuongXe             = soLuongXe;
            this.LoaiKhachHang         = loaiKhachHang;
            this.IsCuocGiaLap          = isCuocGiaLap;
            this.KieuCuocGoi           = kieuCuocGoi;
            this.LenhDienThoai         = lenhDienThoai;
            this.GhiChuDienThoai       = ghiChuDT;
            this.TrangThaiLenh         = trangThaiLenh;
            this.MaNhanVienDienThoai   = maNVDT;
            this.ThoiGianChuyenTongDai = thoiGianChuyenTD;

            this.DanhSachXeDeCu        = dsXeDeCu;
            this.DanhSachXeDeCu_TD     = dsXeDeCu_TD;
            this.ThoiDiemCapNhatXeDeCu = thoiDiemXeDeCu;
            this.GPS_ViDo   = VD;
            this.GPS_KinhDo = KD;
        }