package com.bonus.canteen.core.account.domain.vo;

import com.bonus.common.core.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
@Data
public class AccInfoDetailsVO {
   @ApiModelProperty("账户id")
   private Long accId;
   @ApiModelProperty("人员id")
   private Long userId;
   @ApiModelProperty("操作时间")
   @Excel(name = "操作时间")
   private LocalDateTime updateTime;
   @ApiModelProperty("用户姓名")
   @Excel(name = "用户姓名")
   private String nickName;
   @ApiModelProperty("用户手机号")
   @Excel(name = "用户手机号")
   private String phoneNumber;
   @ApiModelProperty("所属组织")
   @Excel(name = "所属组织")
   private String orgFullName;
   @ApiModelProperty("用户类别")
   private Integer userType;
   @ApiModelProperty("用户部门")
   private String deptName;
   @ApiModelProperty("用户部门")
   private String deptFullName;
   @ApiModelProperty("用户部门")
   private Long deptId;
   @ApiModelProperty("用户类别(展示)")
   @Excel(name = "用户类别(展示)")
   @JsonIgnore
   private String userTypeName;
   @ApiModelProperty("账户总余额")
   @Excel(name = "账户总余额")
   private BigDecimal accBalTotal;
   @ApiModelProperty("账户可用总余额(不包含冻结金额)")
   private BigDecimal accAvailableBal;
   @ApiModelProperty("个人钱包余额/分")
   @Excel(name = "个人钱包余额/分")
   private BigDecimal walletBal;
   @ApiModelProperty("补贴钱包余额/分")
   @Excel(name = "补贴钱包余额/分")
   private BigDecimal subsidyBal;
   @ApiModelProperty("冻结金额")
   @Excel(name = "冻结金额")
   private BigDecimal accFreezeBalTotal;
   @ApiModelProperty("个人钱包允许最低余额限制")
   @Excel(name = "个人钱包允许最低余额限制")
   private BigDecimal minWalletBalLimit;
   @ApiModelProperty("补贴钱包允许最低余额限制")
   @Excel(name = "补贴钱包允许最低余额限制")
   private BigDecimal minSubBalLimit;
   @ApiModelProperty("账户状态 1正常  2冻结")
   private Integer accStatus;
   @ApiModelProperty("账户状态名称")
   @Excel(name = "账户状态名称")
   private String accStatusName;
   @ApiModelProperty("账户有效期")
   @Excel(name = "账户有效期")
   private LocalDate endDate;
   @ApiModelProperty("积分")
   private Long scope;
   @ApiModelProperty("个人钱包冻结金额")
   private BigDecimal frozenWallet;
   @ApiModelProperty("补贴冻结金额")
   private BigDecimal frozenSub;
   @ApiModelProperty("物理卡号")
   private String serialNum;
   private Integer delFlag;
}
