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;

/**
 * 结算管理查询参数
 *
 * @author 科技小王子
 * @since 2023-06-11 19:19:10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerSettleParam对象", description = "结算管理查询参数")
public class TowerSettleParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "结算单号")
    private String settleNo;

    @ApiModelProperty(value = "合同id")
    @QueryField(type = QueryType.EQ)
    private Integer contractId;

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

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

    @ApiModelProperty(value = "结算方式(0跨月;1自然月;2按日;3系数结算-跨月;4系数结算-自然月")
    @QueryField(type = QueryType.EQ)
    private Boolean settleMethod;

    @ApiModelProperty(value = "跨月结算日期")
    @QueryField(type = QueryType.EQ)
    private Integer extendMonthDate;

    @ApiModelProperty(value = "结算状态(0未认证;1已认证;2已失效;)")
    @QueryField(type = QueryType.EQ)
    private Integer status;

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

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

}
