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

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.nest.springwrap.core.mp.base.BaseEntity;

/**
 * @Author 蔡文强
 * @Date 2023/9/13 15:56
 * @Description 税收分类表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_invoice_tax_category")
@ApiModel(value = "SaasInvoiceTaxCategory对象", description = "税收分类表")
public class SaasInvoiceTaxCategory extends BaseEntity {

    /**
     * 分类编码
     */
    @ApiModelProperty(name = "categoryCode", value = "分类编码")
    private String categoryCode;
    /**
     * 分类名称
     */
    @ApiModelProperty(name = "categoryName", value = "分类名称")
    private String categoryName;
    /**
     * 一般纳税人税率
     */
    @ApiModelProperty(name = "generalTaxRate", value = "一般纳税人税率")
    private Integer generalTaxRate;
    /**
     * 小微纳税人税率
     */
    @ApiModelProperty(name = "smallTaxRate", value = "小微纳税人税率")
    private Integer smallTaxRate;
    /**
     * 备注
     */
    @ApiModelProperty(name = "remark", value = "备注")
    private String remark;
    /**
     * 客户ID(客户后台创建时才传)
     */
    @ApiModelProperty(name = "customerId", value = "客户ID(客户后台创建时才传)")
    private Long customerId;
    /**
     * 创建类型(1:运营后台创建 2:客户后台创建)
     */
    @ApiModelProperty(name = "createType", value = "创建类型(1:运营后台创建 2:客户后台创建)")
    private Integer createType;


}
