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

import com.baomidou.mybatisplus.annotation.*;
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;

/**
 * <p>
 * 开票模板表
 * </p>
 *
 * @author caiwq
 * @since 2024-10-31
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("saas_invoice_template")
@ApiModel(value="SaasInvoiceTemplate对象", description="开票模板表")
public class SaasInvoiceTemplate extends BaseEntity {

    /**
     * 站点类型(1:停车场 2:充电站 3:电瓶车电站)
     */
    @ApiModelProperty(name = "stationType", value = "站点类型(1:停车场 2:充电站 3:电瓶车电站)")
    private Integer stationType;
    /**
     * 售方ID
     */
    @ApiModelProperty(name = "sellerId", value = "售方ID")
    private Long sellerId;
    /**
     * 税率规则ID(多个，逗号隔开)
     */
    @ApiModelProperty(name = "taxRateRuleIds", value = "税率规则ID(多个，逗号隔开)")
    private String taxRateRuleIds;
    /**
     * 是否使用自动开票(1:不使用 2:瑞宏开票)
     */
    @ApiModelProperty(name = "isAutoInvoice", value = "是否使用自动开票(1:不使用 2:瑞宏开票)")
    private Integer isAutoInvoice;
    /**
     * 应用站点ID(多个，逗号隔开)
     */
    @ApiModelProperty(name = "siteIds", value = "应用站点ID(多个，逗号隔开)")
    private String siteIds;
    /**
     * 启用状态(1:启用 2:禁用)
     */
    @ApiModelProperty(name = "enableStatus", value = "启用状态(1:启用 2:禁用)")
    private Integer enableStatus;
    /**
     * 客户ID
     */
    @ApiModelProperty(name = "customerId", value = "客户ID")
    private Long customerId;
    /**
     * 创建类型(1:运营后台创建 2:客户后台创建)
     */
    @ApiModelProperty(name = "createType", value = "创建类型(1:运营后台创建 2:客户后台创建)")
    private Integer createType;

}
