package com.yuchen.saas.payment.api.dto.invoice;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author 蔡文强
 * @Date 2024/10/20 15:56
 * @Description 税率规则DTO
 */
@Data
public class SaasInvoiceTaxRateRuleDTO {

    /**
     * 主键ID
     */
    @ApiModelProperty(name = "id", value = "主键ID")
    private Long id;
    /**
     * 站点类型(1:停车场 2:能源车电站 3:电瓶车电站)
     */
    @ApiModelProperty(name = "stationType", value = "站点类型(1:停车场 2:能源车电站 3:电瓶车电站)")
    @NotNull(message = "站点类型不能为空")
    private Integer stationType;
    /**
     * 费用类型ID
     */
    @ApiModelProperty(name = "costTypeId", value = "费用类型ID")
    @NotNull(message = "费用类型ID不能为空")
    private Long costTypeId;
    /**
     * 税收分类ID
     */
    @ApiModelProperty(name = "taxCategoryId", value = "税收分类ID")
    @NotNull(message = "税收分类ID不能为空")
    private Long taxCategoryId;
    /**
     * 税收分类编码
     */
    @ApiModelProperty(name = "categoryCode", value = "税收分类编码")
    @NotBlank(message = "税收分类编码不能为空")
    private String categoryCode;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
    /**
     * 客户ID
     */
    @ApiModelProperty(name = "customerId", value = "客户ID")
    private Long customerId;
    /**
     * 创建类型(1:运营后台创建 2:客户后台创建)
     */
    @ApiModelProperty(name = "createType", value = "创建类型(1:运营后台创建 2:客户后台创建)")
    @NotNull(message = "创建类型不能为空")
    private Integer createType;


}































