package com.gxwebsoft.apps.param;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 报餐统计导出查询参数
 *
 * @author 科技小王子
 * @since 2023-06-01 21:47:02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "BcExportParam对象", description = "报餐统计导出查询参数")
public class BcExportParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "自增ID")
    @QueryField(type = QueryType.EQ)
    private Integer exportId;

    @ApiModelProperty(value = "机构名称")
    private String organizationName;

    @ApiModelProperty(value = "实际消费的金额(不含退款)")
    @QueryField(type = QueryType.EQ)
    private BigDecimal expendMoney;

    @ApiModelProperty(value = "早餐报餐次数")
    @QueryField(type = QueryType.EQ)
    private Integer breakfastPost;

    @ApiModelProperty(value = "早餐签到次数")
    @QueryField(type = QueryType.EQ)
    private Integer breakfastSign;

    @ApiModelProperty(value = "午餐报餐次数")
    @QueryField(type = QueryType.EQ)
    private Integer lunchPost;

    @ApiModelProperty(value = "午餐签到次数")
    @QueryField(type = QueryType.EQ)
    private Integer lunchSign;

    @ApiModelProperty(value = "晚餐报餐次数")
    @QueryField(type = QueryType.EQ)
    private Integer dinnerPost;

    @ApiModelProperty(value = "晚餐签到次数")
    @QueryField(type = QueryType.EQ)
    private Integer dinnerSign;

    @ApiModelProperty(value = "商品价格(单价)")
    @QueryField(type = QueryType.EQ)
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "发货时间")
    private String deliveryTime;

    @ApiModelProperty(value = "起始时间")
    private String deliveryTimeStart;

    @ApiModelProperty(value = "结束时间")
    private String deliveryTimeEnd;

    @ApiModelProperty(value = "状态, 0待发布, 1已发布")
    @QueryField(type = QueryType.EQ)
    private Integer status;

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "订单号")
    @QueryField(type = QueryType.EQ)
    private Integer orderId;

    @ApiModelProperty(value = "机构id")
    @QueryField(type = QueryType.EQ)
    private Integer organizationId;

    @ApiModelProperty(value = "发布人")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @ApiModelProperty(value = "是否删除, 0否, 1是")
    @QueryField(type = QueryType.EQ)
    private Integer deleted;

}
