using dodohold.core;
using System.Security.Cryptography;
using System.Text.Json.Serialization;

namespace molilian.core
{

    [Table("tk_order_tracking")]
    public class TkOrderTrackingDTO
    {
        [Key]
        public int Id { get; set; }
        public TkChannelEnum channel { get; set; }
        public int accountId { get; set; } = 0;
        public string accountName { get; set; } = string.Empty;
        public string batchId { get; set; } = string.Empty;
        public string ip { get; set; } = string.Empty;
        public string oaid { get; set; } = string.Empty;
        public string itemId { get; set; } = string.Empty;
        public string itemName { get; set; } = string.Empty;
        public string taoToken { get; set; } = string.Empty;
        public string shortLinkUrl { get; set; } = string.Empty;
        public string deeplinkUrl { get; set; } = string.Empty;
        public string tradeId { get; set; } = string.Empty;
        public string tradeParentId { get; set; } = string.Empty;
        public DateTime create_time { get; set; } = DateTime.Now;
        public DateTime exp_time { get; set; } = DateTime.Now;
        public DateTime click_time { get; set; } = DateTime.MinValue;
        public DateTime paid_time { get; set; } = DateTime.MinValue;
        public int click_num { get; set; } = 0;
        public int clicked_num { get; set; } = 0;
    }

}
