using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace Dfs.WayneChina.SpsDataCourier.Models
{
    public class BlackCardInfo
    {
        [JsonProperty("gid")]
        public long Gid { get; set; }

        [JsonProperty("cardNo")]
        public string CardNo { get; set; }

        [JsonProperty("blackDate")]
        public string BlackDate { get; set; }

        [JsonProperty("acctGid")]
        public long AcctGid { get; set; }

        [JsonProperty("acctId")]
        public string AcctId { get; set; }

        [JsonProperty("cardType")]
        public byte CardType { get; set; }

        [JsonProperty("discountNo")]
        public int DiscountNo { get; set; }

        [JsonProperty("reason")]
        public string Reason { get; set; }

        [JsonProperty("uploadFlag")]
        public byte UploadFlag { get; set; }

        /// <summary>
        /// Type of the black list record, 0=create, 1=update, 2=delete
        /// </summary>
        [JsonProperty("operationType")]
        public byte OperationType { get; set; }

        /// <summary>
        /// Type of black list card info origin, 0=t_blackcard, 1=t_addblackcard, 2=t_delblackcard
        /// </summary>
        [JsonProperty("blackType")]
        public byte BlackType { get; set; }
    }
}