会员: 规范代码, 用户等级, 用户分组
parent
9d9638b15b
commit
7b2f639324
@ -1,48 +0,0 @@
|
||||
package cn.iocoder.yudao.module.member.controller.admin.level.vo.experience;
|
||||
|
||||
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
|
||||
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;
|
||||
import cn.iocoder.yudao.module.member.enums.DictTypeConstants;
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
|
||||
/**
|
||||
* 会员经验记录 Excel VO
|
||||
*
|
||||
* @author owen
|
||||
*/
|
||||
@Data
|
||||
public class MemberExperienceLogExcelVO {
|
||||
|
||||
@ExcelProperty("编号")
|
||||
private Long id;
|
||||
|
||||
@ExcelProperty("用户编号")
|
||||
private Long userId;
|
||||
|
||||
@ExcelProperty(value = "业务类型", converter = DictConvert.class)
|
||||
@DictFormat(DictTypeConstants.MEMBER_EXPERIENCE_BIZ_TYPE)
|
||||
private Integer bizType;
|
||||
|
||||
@ExcelProperty("业务编号")
|
||||
private String bizId;
|
||||
|
||||
@ExcelProperty("标题")
|
||||
private String title;
|
||||
|
||||
@ExcelProperty("经验")
|
||||
private Integer experience;
|
||||
|
||||
@ExcelProperty("变更后的经验")
|
||||
private Integer totalExperience;
|
||||
|
||||
@ExcelProperty("描述")
|
||||
private String description;
|
||||
|
||||
@ExcelProperty("创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
@ -1,46 +0,0 @@
|
||||
package cn.iocoder.yudao.module.member.controller.admin.level.vo.log;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 会员等级记录 Excel VO
|
||||
*
|
||||
* @author owen
|
||||
*/
|
||||
@Data
|
||||
public class MemberLevelLogExcelVO {
|
||||
|
||||
@ExcelProperty("编号")
|
||||
private Long id;
|
||||
|
||||
@ExcelProperty("用户编号")
|
||||
private Long userId;
|
||||
|
||||
@ExcelProperty("等级编号")
|
||||
private Long levelId;
|
||||
|
||||
@ExcelProperty("会员等级")
|
||||
private Integer level;
|
||||
|
||||
@ExcelProperty("享受折扣")
|
||||
private Integer discount;
|
||||
|
||||
@ExcelProperty("升级经验")
|
||||
private Integer experience;
|
||||
|
||||
@ExcelProperty("会员此时的经验")
|
||||
private Integer userExperience;
|
||||
|
||||
@ExcelProperty("备注")
|
||||
private String remark;
|
||||
|
||||
@ExcelProperty("描述")
|
||||
private String description;
|
||||
|
||||
@ExcelProperty("创建时间")
|
||||
private LocalDateTime createTime;
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue