Sim.java 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. package com.ruoyi.sim.domain;
  2. import org.apache.commons.lang3.builder.ToStringBuilder;
  3. import org.apache.commons.lang3.builder.ToStringStyle;
  4. import com.ruoyi.common.annotation.Excel;
  5. import com.ruoyi.common.core.domain.BaseEntity;
  6. /**
  7. * 模拟器对象 sim_sim
  8. *
  9. * @author tom
  10. * @date 2024-12-11
  11. */
  12. public class Sim extends BaseEntity {
  13. private static final long serialVersionUID = 1L;
  14. /**
  15. * 模拟器ID
  16. */
  17. private Long simId;
  18. /**
  19. * 座ID
  20. */
  21. @Excel(name = "座ID")
  22. private Long seatId;
  23. /**
  24. * 模拟器类型
  25. */
  26. @Excel(name = "模拟器类型")
  27. private String simType;
  28. /**
  29. * 模拟器在线 1:在线 2:离线 3:硬件故障异常
  30. */
  31. @Excel(name = "模拟器在线 1:在线 2:离线 3:硬件故障异常")
  32. private String state;
  33. /**
  34. * 模拟器序列号
  35. */
  36. @Excel(name = "模拟器序列号")
  37. private String simSn;
  38. public void setSimId(Long simId) {
  39. this.simId = simId;
  40. }
  41. public Long getSimId() {
  42. return simId;
  43. }
  44. public void setSeatId(Long seatId) {
  45. this.seatId = seatId;
  46. }
  47. public Long getSeatId() {
  48. return seatId;
  49. }
  50. public void setSimType(String simType) {
  51. this.simType = simType;
  52. }
  53. public String getSimType() {
  54. return simType;
  55. }
  56. public void setState(String state) {
  57. this.state = state;
  58. }
  59. public String getState() {
  60. return state;
  61. }
  62. public void setSimSn(String simSn) {
  63. this.simSn = simSn;
  64. }
  65. public String getSimSn() {
  66. return simSn;
  67. }
  68. @Override
  69. public String toString() {
  70. return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
  71. .append("simId", getSimId())
  72. .append("seatId", getSeatId())
  73. .append("simType", getSimType())
  74. .append("state", getState())
  75. .append("simSn", getSimSn())
  76. .append("createBy", getCreateBy())
  77. .append("createTime", getCreateTime())
  78. .append("updateBy", getUpdateBy())
  79. .append("updateTime", getUpdateTime())
  80. .append("remark", getRemark())
  81. .toString();
  82. }
  83. }