package com.muchinfo.mtp3pojos.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 出境保税费用设置表
 * </p>
 *
 * @author XKF
 * @since 2025-08-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("GZ_CJBSFEECONFIG")
@ApiModel(value="GzCjbsfeeconfig对象", description="出境保税费用设置表")
public class GzCjbsfeeconfig extends Model<GzCjbsfeeconfig> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "市场ID")
    private Long marketid;

    @ApiModelProperty(value = "最低收费(综合服务费)-")
    @TableField("MINSERVICEFEE")
    private BigDecimal minservicefee;

    @ApiModelProperty(value = "基本收费(物流费)")
    @TableField("LOGISTICSBASEFEE")
    private BigDecimal logisticsbasefee;

    @ApiModelProperty(value = "国内物流路段(物流费)")
    @TableField("LOGISTICSDOMESTICFEE")
    private BigDecimal logisticsdomesticfee;

    @ApiModelProperty(value = "保险费率(物流费)")
    @TableField("LOGISTICSPREMIUMRATE")
    private BigDecimal logisticspremiumrate;

    @ApiModelProperty(value = "香港GIA处理费(物流费)")
    @TableField("LOGISTICSHKGIAFEE")
    private BigDecimal logisticshkgiafee;

    @ApiModelProperty(value = "香港报关费(物流费)")
    @TableField("LOGISTICSHKFEE")
    private BigDecimal logisticshkfee;

    @ApiModelProperty(value = "发票税(物流费)")
    @TableField("LOGISTICSINVOICERATE")
    private BigDecimal logisticsinvoicerate;

    @ApiModelProperty(value = "关税税率(海关税费)")
    @TableField("TARIFFRATE")
    private BigDecimal tariffrate;

    @ApiModelProperty(value = "增值税税率(海关税费)")
    @TableField("VATRATE")
    private BigDecimal vatrate;

    @ApiModelProperty(value = "汇款银行手续费")
    @TableField("BANKFEE")
    private BigDecimal bankfee;

    @ApiModelProperty(value = "进仓报关费(每单)(保税仓)-66201")
    @TableField("INCUSTOMSFEE")
    private BigDecimal incustomsfee;

    @ApiModelProperty(value = "出仓报关费(每单)(保税仓)-66201")
    @TableField("OUTCUSTOMSFEE")
    private BigDecimal outcustomsfee;

    @ApiModelProperty(value = "仓储费每天标准(元/公斤)(保税仓)-66201")
    @TableField("STORAGEFEE")
    private BigDecimal storagefee;

    @ApiModelProperty(value = "仓储费每月最低费用(保税仓)-66201")
    @TableField("MONTHMINSTORAGEFEE")
    private BigDecimal monthminstoragefee;

    @ApiModelProperty(value = "保险费比例(保税仓)-66201")
    @TableField("PREMIUMRATIO")
    private BigDecimal premiumratio;

    @ApiModelProperty(value = "保险费每月最低费用(保税仓)-66201")
    @TableField("MONTHMINPREMIUM")
    private BigDecimal monthminpremium;


    @Override
    public Serializable pkVal() {
        return this.marketid;
    }

}
