AliyunPoolDTO.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. 
  2. using dodohold.core;
  3. namespace molilian.core
  4. {
  5. [Table("aliyun_pool")]
  6. public class AliyunPoolDTO
  7. {
  8. [Key]
  9. public int id { get; set; }
  10. public string name { get; set; } = string.Empty;
  11. public string username { get; set; } = string.Empty;
  12. public string password { get; set; } = string.Empty;
  13. public string company { get; set; } = string.Empty;
  14. public string description { get; set; } = string.Empty;
  15. public string mobile { get; set; } = string.Empty;
  16. public string accessKeyId { get; set; } = string.Empty;
  17. public string accessKeySecret { get; set; } = string.Empty;
  18. public bool status { get; set; } = false;
  19. public DateTime create_time { get; set; } = DateTime.Now;
  20. public DateTime last_time { get; set; } = DateTime.Now;
  21. public decimal balance { get; set; } = 0;
  22. public decimal balance_alert_threshold { get; set; } = 0;
  23. public string regions { get; set; } = string.Empty;
  24. }
  25. }