package com.yonge.cooleshow.biz.dal.execl.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.yonge.cooleshow.common.enums.PostStatusEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TenantAccountRecordImport {


    @ApiModelProperty("id")
    @ExcelProperty("流水记录编号")
    private String id;

    @ApiModelProperty("机构id")
    @ExcelProperty("机构编号")
    private String tenantId;

    @ApiModelProperty("交易金额")
    @ExcelProperty("交易金额")
    private String transAmount;

    @ApiModelProperty("订单号")
    @ExcelProperty("订单号")
    private String orderNo;


    @ApiModelProperty("是否结算")
    @ExcelProperty("是否完成结算")
    private String settlement;

    @ApiModelProperty(value = "入账状态 WAIT 待入账 FROZEN 冻结入账 RECORDED 已入账 CANCEL 退费 ")
    @ExcelIgnore
    private PostStatusEnum postStatus;

    @ExcelIgnore
    private Integer rowIndex;
    @ExcelIgnore
    private String sheetName;


    public TenantAccountRecordImport rowIndex(Integer rowIndex) {
        this.rowIndex = rowIndex;
        return this;
    }

    public TenantAccountRecordImport sheetName(String sheetName) {
        this.sheetName = sheetName;
        return this;
    }
}
