Ваш системный запрос здесь
//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
// </auto-generated>
//------------------------------------------------------------------------------
using iRIS.Framework.Data;
using iRIS.InsuranceCore.Entities;
using System;

namespace iRIS.KaskoLink2.Entities
{
    /// <summary>
    /// Полис для взаимодействия с API Газпром.
    /// </summary>
    public class GazpromPolicy : BaseEntityWithId<int>
    {
        private int? _attemptCount;

        private string _cardNumber;

        private int? _cardValue;

        private DateTime? _createDate;

        private string _insurantPhoneNumber;

        private string _inviteURL;

        private string _policyNumber;

        private DateTime? _policyStartDate;

        private DateTime? _startDateHandlePolicy;

        private int? _status;

        private DateTime? _updateDate;

        private FuelCard _fuelCard;

        private int? _fuelCard_Id;

        private GazpromPromocode _gazpromPromocode;

        private int? _gazpromPromocode_Id;

        private bool? _isSmsSended;

        private string _description;

        private string _lastName;

        private string _name;

        private string _middleName;

        /// <summary>
        /// Количество попыток.
        /// </summary>
        public int? AttemptCount
        {
            get => _attemptCount;
            set => SetValue(ref _attemptCount, value, nameof(AttemptCount));
        }

        /// <summary>
        /// Номер карты.
        /// </summary>
        public string CardNumber
        {
            get => _cardNumber;
            set => SetReference(ref _cardNumber, value, nameof(CardNumber));
        }

        /// <summary>
        /// Номинал карты.
        /// </summary>
        public int? CardValue
        {
            get => _cardValue;
            set => SetValue(ref _cardValue, value, nameof(CardValue));
        }

        /// <summary>
        /// Дата создания полиса.
        /// </summary>
        public DateTime? CreateDate
        {
            get => _createDate;
            set => SetValue(ref _createDate, value, nameof(CreateDate));
        }

        /// <summary>
        /// Номер телефона страхователя.
        /// </summary>
        public string InsurantPhoneNumber
        {
            get => _insurantPhoneNumber;
            set => SetReference(ref _insurantPhoneNumber, value, nameof(InsurantPhoneNumber));
        }

        /// <summary>
        /// URL приглашения.
        /// </summary>
        public string InviteURL
        {
            get => _inviteURL;
            set => SetReference(ref _inviteURL, value, nameof(InviteURL));
        }

        /// <summary>
        /// Номер полиса.
        /// </summary>
        public string PolicyNumber
        {
            get => _policyNumber;
            set => SetReference(ref _policyNumber, value, nameof(PolicyNumber));
        }

        /// <summary>
        /// Дата начала действия полиса.
        /// </summary>
        public DateTime? PolicyStartDate
        {
            get => _policyStartDate;
            set => SetValue(ref _policyStartDate, value, nameof(PolicyStartDate));
        }

        /// <summary>
        /// Дата начала обработки полиса.
        /// </summary>
        public DateTime? StartDateHandlePolicy
        {
            get => _startDateHandlePolicy;
            set => SetValue(ref _startDateHandlePolicy, value, nameof(StartDateHandlePolicy));
        }

        /// <summary>
        /// Статус обработки полиса.
        /// </summary>
        public int? Status
        {
            get => _status;
            set => SetValue(ref _status, value, nameof(Status));
        }

        /// <summary>
        /// Дата обновления полиса.
        /// </summary>
        public DateTime? UpdateDate
        {
            get => _updateDate;
            set => SetValue(ref _updateDate, value, nameof(UpdateDate));
        }