package com.zt.plat.module.base.controller.admin.base.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 TaxRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "26656")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "类型(字典: SPLY_BSN_TP)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("类型(字典: SPLY_BSN_TP)")
    private String type;

    @Schema(description = "类别", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("类别")
    private String category;

    @Schema(description = "税码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("税码")
    private String taxCoding;

    @Schema(description = "税码描述")
    @ExcelProperty("税码描述")
    private String remark;

    @Schema(description = "税率")
    @ExcelProperty("税率")
    private BigDecimal tax;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "是否启用")
    @ExcelProperty("是否启用")
    private String isEnable;

    @Schema(description = "公司编码")
    @ExcelProperty("公司编码")
    private String customerNumber;

    @Schema(description = "公司名称", example = "王五")
    @ExcelProperty("公司名称")
    private String customerName;

}