using dodohold.core; using System.Text.Json.Serialization; namespace molilian.core { public class AlimmShareInfoDTO { /// /// 阿里妈妈技术服务费 /// public decimal alimmTechServiceFee { get; set; } = 0.04m; /// /// 阿里妈妈预技术服务费 /// public decimal alimmTechServicePreFee { get; set; } = 0.04m; /// /// 阿里妈妈技术服务比例 /// public decimal alimmTechServiceRate { get; set; } = 10.0m; } [Table("tk_order_details_adzone")] public class TkOrderDetailAdZoneDTO : BaseTkOrderDetailDTO; [Table("tk_order_details")] public class TkOrderDetailDTO : BaseTkOrderDetailDTO; public class BaseTkOrderDetailDTO { [Key] public int id { get; set; } public int accountId { get; set; } = 0; public string accountName { get; set; } = string.Empty; /// /// 淘客付款时间 /// [JsonConverter(typeof(DateTimeConverterUsingDateTimeParse))] public DateTime tkPaidTime { get; set; } = DateTime.MinValue; /// /// 订单类型(天猫或淘宝) /// public string orderType { get; set; } = string.Empty; /// /// 广告位ID /// public long adzoneId { get; set; } = 0; /// /// 收益率 /// public decimal incomeRate { get; set; } = 0.0m; /// /// 补贴类型 /// public string subsidyType { get; set; } = "--"; /// /// 总佣金费用 /// public decimal totalCommissionFee { get; set; } = 0.0m; /// /// 补贴费用 /// public decimal subsidyFee { get; set; } = 0.0m; /// /// 分享佣金 /// public decimal pubShareFee { get; set; } = 0.0m; /// /// 商品平台类型(天猫或淘宝) /// public string itemPlatformTypeText { get; set; } = string.Empty; /// /// 营销类型 /// public string marketingType { get; set; } = string.Empty; /// /// 分享佣金(仅佣金) /// public decimal pubShareFeeForCommission { get; set; } = 0.0m; /// /// 总收益率(佣金+补贴) /// public decimal tkTotalRateForCommissionAndSdy { get; set; } = 0.0m; /// /// 支付宝总价 /// public decimal alipayTotalPrice { get; set; } = 0.0m; /// /// 淘客状态 /// public int tkStatus { get; set; } = 0; /// /// 业务标签 /// public int tkBizTag { get; set; } = 0; /// /// 订单角色 /// public int tkOrderRole { get; set; } = 0; /// /// 淘客创建时间 /// [JsonConverter(typeof(DateTimeConverterUsingDateTimeParse))] public DateTime tkCreateTime { get; set; } = DateTime.MinValue; /// /// 分享佣金(补贴部分) /// public decimal pubShareFeeForSdy { get; set; } = 0.0m; /// /// 结算时间 /// [JsonConverter(typeof(DateTimeConverterUsingDateTimeParse))] public DateTime tkEarningTime { get; set; } = DateTime.MinValue; /// /// 网站名称 /// public string siteName { get; set; } = string.Empty; /// /// 商品数量 /// public int itemNum { get; set; } = 0; /// /// 交易父ID /// public string tradeParentId { get; set; } = string.Empty; /// /// 支付价格 /// public decimal payPrice { get; set; } = 0.0m; /// /// 流量来源 /// public string flowSource { get; set; } = "--"; /// /// 卖家昵称 /// public string sellerNick { get; set; } = string.Empty; /// /// 广告位名称 /// public string adzoneName { get; set; } = string.Empty; /// /// 分享比例 /// public decimal pubShareRate { get; set; } = 0.0m; /// /// 市场ID /// public string mktId { get; set; } = string.Empty; /// /// 是否联盟(0表示否) /// public string isLx { get; set; } = "0"; /// /// 预分享佣金(补贴部分) /// public decimal pubSharePreFeeForSdy { get; set; } = 0.0m; /// /// 预售 /// public int preSell { get; set; } = 0; /// /// 阿里妈妈分享费 /// public decimal alimamaShareFee { get; set; } = 0.0m; /// /// 市场商品链接 /// public string mktItemLink { get; set; } = string.Empty; /// /// 商品价格 /// public decimal itemPrice { get; set; } = 0.0m; /// /// 修改时间 /// [JsonConverter(typeof(DateTimeConverterUsingDateTimeParse))] public DateTime modifiedTime { get; set; } = DateTime.MinValue; /// /// 阿里妈妈比例 /// public decimal alimamaRate { get; set; } = 0.0m; /// /// 预分享佣金 /// public decimal pubSharePreFee { get; set; } = 0.0m; /// /// 商品图片 /// public string itemImg { get; set; } = string.Empty; public string itemId { get; set; } = string.Empty; /// /// 订单角色文本 /// public string tkOrderRoleText { get; set; } = string.Empty; /// /// 推广ID /// public long pubId { get; set; } = 0; /// /// 淘客定金时间 /// public string tkDepositTime { get; set; } = "--"; /// /// 媒体平台佣金 /// public decimal tkCommissionFeeForMediaPlatform { get; set; } = 0.0m; /// /// 补贴比例 /// public decimal subsidyRate { get; set; } = 0.0m; /// /// 点击时间 /// [JsonConverter(typeof(DateTimeConverterUsingDateTimeParse))] public DateTime clickTime { get; set; } = DateTime.MinValue; /// /// 淘宝付款时间 /// [JsonConverter(typeof(DateTimeConverterUsingDateTimeParse))] public DateTime tbPaidTime { get; set; } = DateTime.MinValue; /// /// 终端类型 /// public string terminalType { get; set; } = string.Empty; /// /// 支持商品点击 /// public bool supportItemClick { get; set; } = true; /// /// 淘客状态文本 /// public string tkStatusText { get; set; } = string.Empty; public AlimmShareInfoDTO alimmShareInfoDTO { get; set; } /// /// 商品标题 /// public string itemTitle { get; set; } = string.Empty; /// /// 总收益率 /// public decimal tkTotalRate { get; set; } = 0.0m; /// /// 预分享佣金(仅佣金) /// public decimal pubSharePreFeeForCommission { get; set; } = 0.0m; /// /// 定金价格 /// public decimal DepositPrice { get; set; } = 0.0m; /// /// 分享比例(补贴) /// public decimal pubShareRateForSdy { get; set; } = 0.0m; /// /// 卖家店铺标题 /// public string sellerShopTitle { get; set; } = string.Empty; /// /// 商品分类名称 /// public string itemCategoryName { get; set; } = string.Empty; /// /// 退款标签 /// public int refundTag { get; set; } = 0; /// /// 淘宝定金时间 /// public string tbDepositTime { get; set; } = "--"; /// /// 媒体平台佣金比例 /// public decimal tkCommissionRateForMediaPlatform { get; set; } = 0.0m; /// /// 总收益率(补贴) /// public decimal tkTotalRateForSdy { get; set; } = 0.0m; /// /// 预佣金(媒体平台) /// public decimal tkCommissionPreFeeForMediaPlatform { get; set; } = 0.0m; /// /// 网站ID /// public long siteId { get; set; } = 0; /// /// 总佣金比例 /// public decimal totalCommissionRate { get; set; } = 0.0m; /// /// 阿里妈妈分享信息 /// public string alimmShareInfo { get; set; } = string.Empty; /// /// 交易ID /// public string tradeId { get; set; } = string.Empty; [IgnoreUpdate] public DateTime create_time { get; set; } = DateTime.Now; public DateTime last_time { get; set; } = DateTime.Now; } }