package com.njzscloud.dispose.finance.pojo.param;

import com.njzscloud.dispose.finance.constant.ExpenseItemCategory;
import com.njzscloud.dispose.finance.constant.ExpenseStrategy;
import com.njzscloud.dispose.finance.constant.Unit;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Getter
@Setter
@ToString
@Accessors(chain = true)
public class ModifyExpenseItemParam {
    /**
     * Id
     */
    private Long id;

    /**
     * 收费项目类型，QiTa-->其他、ChanPin-->产品、YunFei-->运费
     */
    private ExpenseItemCategory expenseItemCategory;

    /**
     * 付费项名称
     */
    private String expenseItemName;

    /**
     * 计费策略；字典代码：expense_strategy
     */
    private ExpenseStrategy expenseStrategy;

    /**
     * 计量单位；字典代码：unit
     */
    private Unit unit;

    /**
     * 税率
     */
    private BigDecimal taxRate;

    /**
     * 单价；单位：元，弹性模式-->每档价格
     */
    private BigDecimal unitPrice;

    /**
     * 起步价；单位：元，<= 起步量 固定费用
     */
    private BigDecimal initialPrice;

    /**
     * 起步量
     */
    private Integer initialQuantity;

    /**
     * 每档的量
     */
    private Integer everyQuantity;

    /**
     * 归属用户Id
     */
    private Long userId;

    /**
     * 归属客户Id
     */
    private Long customerId;

    /**
     * 归属组织Id
     */
    private Long orgId;

    /**
     * 产品 Id
     */
    private Long goodsId;

    /**
     * 备注
     */
    private String memo;

}
