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

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
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-08-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("BD_POSTAGE_DETAIL")
@KeySequence("BD_POSTAGE_DETAIL_SEQ")
public class  BdPostageDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private Integer pkId;



    /**
     * 首重重量
     */
    @TableField("FIRST_WEIGHT")
    private BigDecimal firstWeight;

    /**
     * 首重邮费
     */
    @TableField("FIRST_POSTAGE")
    private BigDecimal firstPostage;

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

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

    /**
     * 省
     */
    @TableField("PROVINCE")
    private Integer province;

    /**
     * 市
     */
    @TableField("CITY")
    private Integer city;

    /**
     * 提示信息
     */
    @TableField("WARN_NOTICE")
    private String warnNotice;

    /**
     * 邮费表外键
     */
    @TableField("PK_POSTAGE")
    private Integer pkPostage;
    /**
     * 体积系数
     */
    @TableField("VOLUME_RATIO")
    private BigDecimal volumeRatio;
    /**
     * 类型 （用于区分特殊区域和配送区域）
     */
    @TableField("TYPE")
    private Integer type;

    /**
     * 分组值
     */
    @TableField("GROUP_VALUE")
    private Integer groupValue;
}
