package com.starry.admin.modules.withdraw.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("店员提现余额")
public class ClerkWithdrawBalanceVo {
    @ApiModelProperty("可提现工资")
    private BigDecimal available;
    @ApiModelProperty("冻结中")
    private BigDecimal pending;
    @ApiModelProperty("最近解冻时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime nextUnlockAt;
}
