
package com.czg.market.dto;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import com.alibaba.fastjson2.annotation.JSONField;
import java.io.Serial;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 新客立减减免记录 实体类。
 *
 * @author zs
 * @since 2025-09-17
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MkShopConsumeDiscountRecordDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    /**
     * 消费立减id
     */
    private Long consumeDiscountId;

    /**
     * 减免金额
     */
    private BigDecimal amount;

    /**
     * 订单金额
     */
    private BigDecimal orderAmount;

    /**
     * 创建时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    /**
     * 门店id
     */
    private Long shopId;

}
