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-15 10:29:54
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerLendingSettleListParam对象", description = "拆借结算清单查询参数")
public class TowerLendingSettleListParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "拆借主单id")
    @QueryField(type = QueryType.EQ)
    private Integer lendingId;

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

    @ApiModelProperty(value = "拆借路线")
    private String lendingPath;

    @ApiModelProperty(value = "合作方式")
    private String coopWay;

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

    @ApiModelProperty(value = "结算截止日期")
    private String stopDate;

    @ApiModelProperty(value = "计费天数")
    @QueryField(type = QueryType.EQ)
    private Integer calDay;

    @ApiModelProperty(value = "整月")
    @QueryField(type = QueryType.EQ)
    private Boolean isFullMonth;

    @ApiModelProperty(value = "月计费天数")
    @QueryField(type = QueryType.EQ)
    private Integer daysInMonth;

    @ApiModelProperty(value = "月租金")
    @QueryField(type = QueryType.EQ)
    private BigDecimal monthRentAmount;

    @ApiModelProperty(value = "应付租金")
    @QueryField(type = QueryType.EQ)
    private BigDecimal shouldPayRentAmount;

    @ApiModelProperty(value = "日租金")
    @QueryField(type = QueryType.EQ)
    private BigDecimal dailyRentAmount;

    @ApiModelProperty(value = "应补租金")
    @QueryField(type = QueryType.EQ)
    private BigDecimal shouldSupplementAmount;

    @ApiModelProperty(value = "应扣租金")
    @QueryField(type = QueryType.EQ)
    private BigDecimal shouldDeductionAmount;

    @ApiModelProperty(value = "实付金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal paidAmount;

    @ApiModelProperty(value = "税率")
    @QueryField(type = QueryType.EQ)
    private BigDecimal taxRate;

    @ApiModelProperty(value = "税金")
    @QueryField(type = QueryType.EQ)
    private BigDecimal taxAmount;

    @ApiModelProperty(value = "税价合计")
    @QueryField(type = QueryType.EQ)
    private BigDecimal totalAmountWithTax;

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

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

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

}
