package com.dsh.guns.modular.system.model; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.Data; import java.math.BigDecimal; import java.util.Date; /** * 收入管理列表VO */ @Data public class IncomeVO { /** {title: '所在省', field: 'province', visible: roleType==1?true:false, align: 'center', valign: 'middle'}, {title: '所在市', field: 'city', visible: roleType==1?true:false, align: 'center', valign: 'middle'}, {title: '消费门店', field: 'storeName', visible: roleType==1?true:false, align: 'center', valign: 'middle'}, {title: '用户姓名', field: 'payUser', visible: true, align: 'center', valign: 'middle'}, {title: '联系电话', field: 'phone', visible: true, align: 'center', valign: 'middle'}, {title: '金 额', field: 'amount', visible: true, align: 'center', valign: 'middle'}, {title: '收入类型', field: 'incomeType', visible: true, align: 'center', valign: 'middle', formatter:function (data) {return{1:"加入会员",2:"充值",3:"报名课程",4:"报名赛事活动",5:"预约场地"}[data]}}, {title: '状态', field: 'state', visible: true, align: 'center', valign: 'middle',formatter:function (data) {return{1:"已支付",2:"未支付"}[data]}} */ private Integer id; private String province; private String city; private String storeName; private String payUser; private String phone; private BigDecimal amount; private Integer incomeType; private Integer state; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8") private Date insertTime; }