# Setting.java

    package cloud.wconnect.rateshop.entity.rateshop;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

    /**
     * <p>
     * rate_shop功能配置 实体类
     * </p>
     *
     * @author lichen
     * @since 2023-06-07
     */
    @Data
    @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    public class Setting implements Serializable {

        private static final long serialVersionUID = 1L;

        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

        /**
         * 租户ID
         */
        private Integer tenantId;

        private Integer propertyId;

        /**
         * 国家/地区 id
         */
        private Integer countryRegionId;

        /**
         * 货币id
         */
        private Integer currencyId;

        /**
         * 警报规则
         */
        private String alertRules;

        /**
         * 含税标志 1: 税前 2：税后
         */
        private Integer containTaxFlag;

        /**
         * 房价参数配置，包括：房价类型、数据源、平台；[{"rateType":1,"datasourceId":1,"platformIds":[1,2,3]}]
         */
        private String rateConfig;

        /**
         * 销售地区。us：美国 tw：台湾
         */
        private String pos;

        /**
         * 常量类
         */
        public static final int BEFORE_TAX_RATE = 1;
        public static final int AFTER_TAX_RATE = 2;

    }