|
@@ -0,0 +1,65 @@
|
|
|
+package com.fdkankan.agent.response;
|
|
|
+
|
|
|
+import com.alibaba.excel.annotation.ExcelIgnore;
|
|
|
+import com.alibaba.excel.annotation.ExcelProperty;
|
|
|
+import lombok.Data;
|
|
|
+
|
|
|
+@Data
|
|
|
+public class LogListVoEn {
|
|
|
+
|
|
|
+ @ExcelIgnore
|
|
|
+ private Integer type; //权益类型
|
|
|
+ @ExcelIgnore
|
|
|
+ private Integer giveType; //授权方式
|
|
|
+ @ExcelIgnore
|
|
|
+ private Long userId; //用户id
|
|
|
+
|
|
|
+ @ExcelProperty("Authorization Time")
|
|
|
+ private String createTime;
|
|
|
+
|
|
|
+ @ExcelProperty("Type")
|
|
|
+ private String typeStr;
|
|
|
+
|
|
|
+
|
|
|
+ @ExcelProperty("Nickname")
|
|
|
+ private String nickName;
|
|
|
+
|
|
|
+ @ExcelProperty("Account")
|
|
|
+ private String userName;
|
|
|
+
|
|
|
+ @ExcelProperty("Email")
|
|
|
+ private String email;
|
|
|
+
|
|
|
+ @ExcelProperty("Methods")
|
|
|
+ private String giveTypeStr;
|
|
|
+
|
|
|
+ @ExcelProperty("Authorized Quantity")
|
|
|
+ private Integer count;
|
|
|
+
|
|
|
+
|
|
|
+ public String getTypeStr() {
|
|
|
+ if(type == null){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+ switch (type){
|
|
|
+ case 0 :return "Premium (Yearly)";
|
|
|
+ case 1 :return "Senior (Monthly)";
|
|
|
+ case 2 :return "Scene Download";
|
|
|
+ }
|
|
|
+ return typeStr;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getGiveTypeStr() {
|
|
|
+ if(giveType == null){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
+ switch (giveType){
|
|
|
+ case 0 :return "Dealer Authorization";
|
|
|
+ case 1 :return "Dealer Renewals";
|
|
|
+ case 2 :return "Official Website Purchase";
|
|
|
+ case 3 :return "Platform Authorization";
|
|
|
+ }
|
|
|
+ return giveTypeStr;
|
|
|
+ }
|
|
|
+
|
|
|
+}
|