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

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;

import java.math.BigDecimal;

/**
 * <p>
 * 邮费地区表
 * </p>
 *
 * @author hzs
 * @since 2022-10-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("BD_POSTAGE_AREA")
@KeySequence("BD_POSTAGE_AREA_SEQ")
public class BdPostageArea extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId("PK_ID")
    private Integer pkId;

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

    /**
     * 所属专区
     */
    @TableField("SPECIAL_AREA")
    private Integer specialArea;

    /**
     * 免邮金额
     */
    @TableField("FREE_AMOUNT")
    private BigDecimal freeAmount;

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

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

}
