
using dodohold.core;

namespace molilian.core
{
    [Table("aliyun_pool")]
    public class AliyunPoolDTO
    {
        [Key]
        public int id { get; set; }

        public string name { get; set; } = string.Empty;
        public string username { get; set; } = string.Empty;
        public string password { get; set; } = string.Empty;
        public string company { get; set; } = string.Empty;
        public string description { get; set; } = string.Empty;
        public string mobile { get; set; } = string.Empty;
        public string accessKeyId { get; set; } = string.Empty;
        public string accessKeySecret { get; set; } = string.Empty;
        public bool status { get; set; } = false;
        public DateTime create_time { get; set; } = DateTime.Now;


        public DateTime last_time { get; set; } = DateTime.Now;
        public decimal balance { get; set; } = 0;

        public decimal balance_alert_threshold { get; set; } = 0;
        public string regions { get; set; } = string.Empty;
        public List<AliyunEcsDTO> ecs_list { get; set; } = [];

    }

}
