MidjourneyAccountView.java 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. package com.cyksj.model.views;
  2. import com.cyksj.model.entity.GroupsTrips;
  3. import com.ejlchina.searcher.bean.DbField;
  4. import com.ejlchina.searcher.bean.DbIgnore;
  5. import com.ejlchina.searcher.bean.SearchBean;
  6. import lombok.Getter;
  7. import lombok.Setter;
  8. import java.math.BigDecimal;
  9. import java.util.Date;
  10. /**
  11. * @author zwhui
  12. * @date 2024/4/16 16:04
  13. */
  14. @Getter
  15. @Setter
  16. @SearchBean(tables = "midjourney_account ma left join account a on ma.account_id = a.id",
  17. where = ":extra_sql:")
  18. public class MidjourneyAccountView {
  19. @DbField("ma.id")
  20. private Long id;
  21. @DbField("ma.account_id")
  22. private Long accountId;
  23. @DbField("a.account")
  24. private String account;
  25. @DbField("a.password")
  26. private String password;
  27. @DbField("a.start_time")
  28. private Date startTime;
  29. @DbField("a.expiry_time")
  30. private Date expiryTime;
  31. /**
  32. * 状态 true有效 false无效
  33. */
  34. @DbField("ma.status")
  35. private Boolean status;
  36. /**
  37. * 服务器id
  38. */
  39. @DbField("ma.guild_id")
  40. private Long guildId;
  41. /**
  42. * 频道id
  43. */
  44. @DbField("ma.channel_id")
  45. private Long channelId;
  46. /**
  47. * user_token
  48. */
  49. @DbField("ma.user_token")
  50. private String userToken;
  51. /**
  52. * fast剩余时间
  53. */
  54. @DbField("ma.fast_remain_time")
  55. private String fastRemainTime;
  56. /**
  57. * 账号备注
  58. */
  59. @DbField("ma.remark")
  60. private String remark;
  61. @DbField("ma.created_time")
  62. private Date createdTime;
  63. }