package com.zt.plat.module.base.controller.admin.base.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 税码信息新增/修改 Request VO")
@Data
public class TaxSaveReqVO {

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

    @Schema(description = "类型(字典: SPLY_BSN_TP)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotEmpty(message = "类型(字典: SPLY_BSN_TP)不能为空")
    private String type;

    @Schema(description = "类别", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "类别不能为空")
    private String category;

    @Schema(description = "税码", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "税码不能为空")
    private String taxCoding;

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

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

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

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

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

}