Interest.cs 532 B

12345678910111213141516171819202122
  1. using System.Text.Json.Serialization;
  2. namespace economy.Models.Financial.Interest
  3. {
  4. // 검색결과 변수
  5. public class Response
  6. {
  7. public List<Data> Items { get; set; }
  8. }
  9. public class Data
  10. {
  11. [JsonPropertyName("result")]
  12. public int Result { get; set; }
  13. [JsonPropertyName("sfln_intrc_nm")]
  14. public string? InterestName { get; set; } // 대출기간
  15. [JsonPropertyName("int_r")]
  16. public string? InterestRate { get; set; } // 고정기준금리
  17. }
  18. }