package com.ruoyi.project.business.domain.vo.salesDiscount;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author fangk
 * @date 2024/5/14
 * @desc SalesDiscountReq 销售折扣请求参数
 */

@Data
@Accessors
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SalesDiscountReq {

    /**
     * ID
     */
    private Long id;

    /**
     * 角色id
     */
    private Long roleId;
    
    /**
     * 角色id 多选查询
     */
    private List<Long> roleIds;

    /**
     * 折扣最小值
     */
    private BigDecimal minDiscount;

    /**
     * 折扣最大值
     */
    private BigDecimal maxDiscount;

    /**
     * 录入人
     */
    private String createUserNick;

    /**
     * 录入查询起始时间
     */
    private LocalDateTime beginTime;

    /**
     * 录入查询截至时间
     */
    private LocalDateTime endTime;

    /**
     * 备注
     */
    private String remark;

}