package com.yc.ship.module.otc.controller.admin.storeplatcreditlog.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 旅行社门店平台授信额度变更 Response VO")
@Data
@ExcelIgnoreUnannotated
public class StorePlatCreditLogRespVO {

    @Schema(description = "额度变更ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "18808")
    @ExcelProperty("额度变更ID")
    private Long id;

    @Schema(description = "旅行社ID", example = "12190")
    private Long distributorId;

    @Schema(description = "门店ID", example = "12190")
    @ExcelProperty("门店ID")
    private Long storeId;

    @Schema(description = "门店名称", example = "李四")
    private String storeName;

    @Schema(description = "旅行社名称", example = "李四")
    private String distributorName;

    @Schema(description = "变更前额度")
    @ExcelProperty("变更前额度")
    private BigDecimal beforeCredit;

    @Schema(description = "变更后额度")
    @ExcelProperty("变更后额度")
    private BigDecimal afterCredit;

    @Schema(description = "变更金额")
    @ExcelProperty("变更金额")
    private BigDecimal creditAmount;

    @Schema(description = "变更类型 1.增加、2.减少")
    @ExcelProperty("变更类型 1.增加、2.减少")
    private Integer creditMode;

    @Schema(description = "备注", example = "你说的对")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "额度变更时间")
    @ExcelProperty("额度变更时间")
    private LocalDateTime createTime;

}