package com.hzs.common.domain.sale.postage;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 地区续重和运费区间表
 * </p>
 *
 * @author hzs
 * @since 2022-11-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_POSTAGE_DETAIL_INFO")
@KeySequence("BD_POSTAGE_DETAIL_INFO_SEQ")
public class BdPostageDetailInfo extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private Integer pkId;

    /**
     * 邮费详情表主键
     */
    @TableField("PK_POSTAGE_DETAIL")
    private Integer pkPostageDetail;

    /**
     * 续重重量
     */
    @TableField("CONTINUED_WEIGHT")
    private BigDecimal continuedWeight;

    /**
     * 续重邮费
     */
    @TableField("CONTINUED_POSTAGE")
    private BigDecimal continuedPostage;

    /**
     * 邮费模板表外键
     */
    @TableField("PK_POSTAGE")
    private Integer pkPostage;
}
