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-11 19:13:12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerSettleDetailParam对象", description = "合同结算详情查询参数")
public class TowerSettleDetailParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "结算id")
    @QueryField(type = QueryType.EQ)
    private Integer settleId;

    @ApiModelProperty(value = "结算类型:0租金结算;1进退场费结算;2操作人员工资结算;3其他费用;4扣除项")
    @QueryField(type = QueryType.EQ)
    private Boolean type;

    @ApiModelProperty(value = "费用类型")
    private String settleCostType;

    @ApiModelProperty(value = "设备")
    private String equipmentName;

    @ApiModelProperty(value = "型号")
    private String equipmentModel;

    @ApiModelProperty(value = "出厂编号")
    private String factoryNo;

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

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

    @ApiModelProperty(value = "月租金/月工资")
    @QueryField(type = QueryType.EQ)
    private BigDecimal monthAmount;

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

    @ApiModelProperty(value = "进退场单价/单次费用")
    @QueryField(type = QueryType.EQ)
    private BigDecimal singleAmount;

    @ApiModelProperty(value = "进退场次数/次数")
    @QueryField(type = QueryType.EQ)
    private Integer num;

    @ApiModelProperty(value = "单位")
    private String unit;

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

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

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

}
