/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package cn.ysk.cashier.dto.shop;

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

/**
* @website https://eladmin.vip
* @description /
* @author lyf
* @date 2024-01-05
**/
@Data
public class TbShopCurrencyDto implements Serializable {

    /** 自增id */
    private Integer id;

    /** 店铺Id */
    private String shopId;

    /** 备用金 */
    private BigDecimal prepareAmount;

    /** 货币单位 ￥，$ */
    private String currency;

    /** 小数位，0，1，2，无，元，角，分 */
    private Integer decimalsDigits;

    /** 无，四舍五入，五舍六入none,round4up5,round5up6,round12up34 */
    private String discountRound;

    /** 商户Id */
    private String merchantId;

    /** 订单抹零 -1无，0元 1角2分  0.5=0.5元 */
    private Integer smallChange;

    /** 使折扣生效 */
    private Integer enableCustomDiscount;

    /** 最大抹零金额(100) */
    private BigDecimal maxDiscount;

    /** 最大折扣百分比,，优先级高于max_discount */
    private Double maxPercent;

    /** 折扣显示详情 */
    private String discountConfigs;

    /** 营业时间(弃用) */
    private String bizDuration;

    /** 允许网络支付 */
    private Integer allowWebPay;

    /** 自动抹零，开启时，系统自动抹零 */
    private Integer isAutoToZero;

    /** 商品含税 */
    private Integer isIncludeTaxPrice;

    /** 服务费配置（小费） */
    private String serviceCharge;

    /** 税号 */
    private String taxNumber;

    private Long createdAt;

    private Long updatedAt;

    /** 自动锁屏 */
    private Integer autoLockScreen;

    /** 语音通知 */
    private Integer voiceNotification;
}