using dodohold.core;

namespace molilian.core
{
    [Table("cps_pool")]
    public class CpsPoolDTO
    {
        [Key]
        public int id { get; set; }
        public int channel_id { get; set; }
        public string channel_code { get; set; }
        public string name { get; set; }
        public string end_point { get; set; }
        public string nodeName { get; set; }
        public string company { get; set; }
        public string description { get; set; }
        public DateTime create_time { get; set; }
        public DateTime last_time { get; set; }
        public bool status { get; set; }
    }

    [Table("cps_links")]
    public class CpsLinksDTO
    {
        [Key]
        public int id { get; set; }
        public int channel_id { get; set; }
        public string channel_code { get; set; }
        public string pid { get; set; } = string.Empty;
        public string category { get; set; } = string.Empty;
        public string name { get; set; }
        public string description { get; set; }
        public DateTime create_time { get; set; }
        public DateTime last_time { get; set; }
        public bool status { get; set; }
        public string deeplink { get; set; }
        public string token { get; set; }
        public DateTime start_time { get; set; }
        public DateTime end_time { get; set; }
        public int priority_weight { get; set; }
        public int time_range { get; set; }
        public string title { get; set; } = string.Empty;
    }

}
