PosStoreNewebpay.java 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. package com.ruoyi.system.domain;
  2. import com.baomidou.mybatisplus.annotation.FieldFill;
  3. import com.baomidou.mybatisplus.annotation.IdType;
  4. import com.baomidou.mybatisplus.annotation.TableField;
  5. import com.baomidou.mybatisplus.annotation.TableId;
  6. import com.baomidou.mybatisplus.annotation.TableName;
  7. import lombok.Data;
  8. import java.util.Date;
  9. /**
  10. * 门店蓝新金流支付凭证 pos_store_newebpay
  11. *
  12. * <p>与 pos_store 1:1,记录该门店的蓝新申请状态、启用开关、凭证、启用的支付方式。
  13. * 复用 009 pos_store_ezpay 的状态机模式(0未申请/1申请中/2已开通)。
  14. * 门店无此行即视为「未申请」。
  15. *
  16. * @author ruoyi
  17. * @date 2026-06-22
  18. */
  19. @Data
  20. @TableName(value = "pos_store_newebpay")
  21. public class PosStoreNewebpay {
  22. private static final long serialVersionUID = 1L;
  23. /** 主键 */
  24. @TableId(type = IdType.AUTO)
  25. private Long id;
  26. /** 关联 pos_store.id(门店),唯一 */
  27. private Long storeId;
  28. /** 申请状态:0未申请/1申请中/2已开通 */
  29. private Integer newebpayStatus;
  30. /** 启用开关:0停用/1启用(仅 status=2 有意义) */
  31. private Integer isEnabled;
  32. /** 蓝新商店代号 MerchantID */
  33. private String merchantId;
  34. /** 蓝新 HashKey(固定 32 字节) */
  35. private String hashKey;
  36. /** 蓝新 HashIV(固定 16 字节) */
  37. private String hashIv;
  38. /** 启用的支付方式,逗号分隔:CREDIT,LINEPAY,APPLEPAY */
  39. private String enabledPayments;
  40. /** 提交申请时间(0→1) */
  41. private Date applyTime;
  42. /** 开通时间(→2) */
  43. private Date approvedTime;
  44. /** 最近一次凭证验证结果 */
  45. private String lastVerifyResult;
  46. /** 备注 */
  47. private String remark;
  48. /** 创建时间 */
  49. @TableField(fill = FieldFill.INSERT)
  50. private Date createTime;
  51. /** 更新时间 */
  52. @TableField(fill = FieldFill.INSERT_UPDATE)
  53. private Date updateTime;
  54. /** 创建人 */
  55. @TableField(fill = FieldFill.INSERT)
  56. private String createBy;
  57. /** 更新人 */
  58. @TableField(fill = FieldFill.INSERT_UPDATE)
  59. private String updateBy;
  60. }