package com.gxwebsoft.tower.param;

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

import java.math.BigDecimal;

/**
 * 查询参数
 *
 * @author 科技小王子
 * @since 2023-06-12 16:40:25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerHistorySettleParam对象", description = "查询参数")
public class TowerHistorySettleParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @QueryField(type = QueryType.EQ)
    private Integer historySettleId;

    @ApiModelProperty(value = "项目ID")
    @QueryField(type = QueryType.EQ)
    private Integer projectId;

    @ApiModelProperty(value = "合同编号")
    private String contractNo;

    @ApiModelProperty(value = "设备")
    @QueryField(type = QueryType.EQ)
    private Integer equipmentId;

    @ApiModelProperty(value = "设备结算租金含税金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal amountWithTax;

    @ApiModelProperty(value = "设备结算租金税率")
    @QueryField(type = QueryType.EQ)
    private BigDecimal taxAmount;

    @ApiModelProperty(value = "进出场费含税金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal inOutWithTax;

    @ApiModelProperty(value = "进出场费税率")
    @QueryField(type = QueryType.EQ)
    private BigDecimal inOutTax;

    @ApiModelProperty(value = "劳务费含税金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal workerAmountWithTax;

    @ApiModelProperty(value = "劳务费税率")
    @QueryField(type = QueryType.EQ)
    private BigDecimal workerTax;

    @ApiModelProperty(value = "其他费用含税金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal otherAmountWithTax;

    @ApiModelProperty(value = "其他费用税率")
    @QueryField(type = QueryType.EQ)
    private BigDecimal otherTax;

    @ApiModelProperty(value = "开始日期")
    private String startDate;

    @ApiModelProperty(value = "结束日期")
    private String endDate;

    @ApiModelProperty(value = "用户ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

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

}
