From 035edfa382d349ba66240fbfef68c14c7cfc95d1 Mon Sep 17 00:00:00 2001 From: admin <1101184511@qq.com> Date: 星期五, 08 八月 2025 01:20:21 +0800 Subject: [PATCH] 功能完善 --- src/main/java/com/taoke/autopay/entity/ClientInfo.java | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/taoke/autopay/entity/ClientInfo.java b/src/main/java/com/taoke/autopay/entity/ClientInfo.java index 5888889..b8d9190 100644 --- a/src/main/java/com/taoke/autopay/entity/ClientInfo.java +++ b/src/main/java/com/taoke/autopay/entity/ClientInfo.java @@ -52,4 +52,23 @@ private Integer rule; @Column(name = "client_type") private Integer clientType; + + public static enum ClientType{ + AGENT_PAYMENT(CLIENT_TYPE_AGENT_PAYMENT, "c"), + ORDER(CLIENT_TYPE_ORDER, "s"); + private int value; + private String accountPrefix; + ClientType(int value, String accountPrefix){ + this.value = value; + this.accountPrefix = accountPrefix; + } + public int getValue(){ + return value; + } + + public String getAccountPrefix(){ + return accountPrefix; + } + } + } -- Gitblit v1.8.0