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

namespace molilian.core
{

    [Table("jd_estimate_comm")]
    public class JdEstimateCommDTO
    {
        [Key]
        public int id { get; set; }
        public int accountId { get; set; } = 0;

        public string accountName { get; set; } = string.Empty;

        /// <summary>
        /// 订单完成日期
        /// </summary>
        [JsonConverter(typeof(DateTimeConverterUsingDateTimeParse))]
        public DateTime report_date { get; set; } = DateTime.MinValue;


        public decimal cosFee { get; set; } = 0.0m;

        public int feeType { get; set; } = 0;
        public string feeTypeStr { get; set; } = string.Empty;

        public int platform { get; set; } = 0;
        public string platformStr { get; set; } = string.Empty;


        public int unionType { get; set; } = 0;
        public string unionTypeStr { get; set; } = string.Empty;


        /// <summary>
        /// 0未结算 2已结算
        /// </summary>
        public int status { get; set; } = 0;

        public DateTime create_time { get; set; } = DateTime.Now;

        public DateTime last_time { get; set; } = DateTime.Now;


        public int downloadDetail { get; set; }
        public int showDetail { get; set; }
        public string payMonth { get; set; } = string.Empty;
    }


}
