刘嘉昕 | b1f0d71 | 2025-06-02 17:13:06 +0800 | [diff] [blame^] | 1 | package com.pt5.pthouduan.entity; |
| 2 | |
| 3 | public class TvInfo { |
| 4 | private Long torrentId; // 注意:变量名与之前风格保持一致,但 setTorrentId 方法可能不同 |
| 5 | private String region; |
| 6 | private String format; |
| 7 | private String genre; |
| 8 | |
| 9 | // Getters |
| 10 | public Long getTorrentId() { |
| 11 | return torrentId; |
| 12 | } |
| 13 | |
| 14 | public String getRegion() { |
| 15 | return region; |
| 16 | } |
| 17 | |
| 18 | public String getFormat() { |
| 19 | return format; |
| 20 | } |
| 21 | |
| 22 | public String getGenre() { |
| 23 | return genre; |
| 24 | } |
| 25 | |
| 26 | // Setters |
| 27 | public void setTorrentId(Long torrentId) { |
| 28 | this.torrentId = torrentId; |
| 29 | } |
| 30 | |
| 31 | public void setRegion(String region) { |
| 32 | this.region = region; |
| 33 | } |
| 34 | |
| 35 | public void setFormat(String format) { |
| 36 | this.format = format; |
| 37 | } |
| 38 | |
| 39 | public void setGenre(String genre) { |
| 40 | this.genre = genre; |
| 41 | } |
| 42 | } |