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-08 22:36:47
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TowerContractParam对象", description = "合同存档查询参数")
public class TowerContractParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

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

    @ApiModelProperty(value = "出租单位")
    @QueryField(type = QueryType.EQ)
    private Integer companyId;

    @ApiModelProperty(value = "承租单位")
    @QueryField(type = QueryType.EQ)
    private Integer customerId;

    @ApiModelProperty(value = "业务负责人")
    private String customerContact;

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

    @ApiModelProperty(value = "签订日期")
    private String signDate;

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

    @ApiModelProperty(value = "截止日期")
    private String endDate;

    @ApiModelProperty(value = "合同金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal contractAmount;

    @ApiModelProperty(value = "合同约定金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal contactAgreeAmount;

    @ApiModelProperty(value = "合同存档0未存档,1已存档")
    @QueryField(type = QueryType.EQ)
    private Boolean isInStock;

    @ApiModelProperty(value = "是否自动结算")
    @QueryField(type = QueryType.EQ)
    private Boolean autoSettle;

    @ApiModelProperty(value = "结算方式")
    @QueryField(type = QueryType.EQ)
    private Integer settleMethod;

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

    @ApiModelProperty(value = "已生成结算次数")
    @QueryField(type = QueryType.EQ)
    private Integer settleNum;

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

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

}
