package com.gxwebsoft.pwl.param;

import java.math.BigDecimal;
import java.util.Set;

import com.baomidou.mybatisplus.annotation.TableField;
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 com.gxwebsoft.common.system.entity.User;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 卫兰的项目项目系统查询参数
 *
 * @author 科技小王子
 * @since 2025-03-22 14:34:35
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(name = "PwlProjectParam对象", description = "卫兰的项目项目系统查询参数")
public class PwlProjectParam extends BaseParam {
    private static final long serialVersionUID = 1L;

    @Schema(description = "ID")
    @QueryField(type = QueryType.EQ)
    private Integer id;

    @Schema(description = "项目名称")
    private String name;

    @Schema(description = "项目标识")
    private String code;

    @Schema(description = "上级id, 0是顶级")
    @QueryField(type = QueryType.EQ)
    private Integer parentId;

    @Schema(description = "项目类型")
    @QueryField(type = QueryType.EQ)
    private String type;

    @Schema(description = "项目图标")
    private String avatar;

    @Schema(description = "二维码")
    private String qrcode;

    @Schema(description = "链接地址")
    private String url;

    @Schema(description = "应用截图")
    private String images;

    @Schema(description = "底稿情况")
    private String files;

    @Schema(description = "应用介绍")
    private String content;

    @Schema(description = "年末资产总额(万元)")
    @QueryField(type = QueryType.EQ)
    private BigDecimal totalAssets;

    @Schema(description = "合同金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal contractPrice;

    @Schema(description = "实收金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal payPrice;

    @Schema(description = "软件定价")
    @QueryField(type = QueryType.EQ)
    private BigDecimal price;

    @Schema(description = "是否推荐")
    @QueryField(type = QueryType.EQ)
    private Integer recommend;

    @Schema(description = "到期时间")
    private String expirationTime;

    @Schema(description = "项目信息-开票单位/汇款人")
    private String itemName;

    @Schema(description = "项目信息-年度")
    private String itemYear;

    @Schema(description = "项目信息-类型")
    private String itemType;

    @Schema(description = "项目信息-审计意见")
    private String itemOpinion;

    @Schema(description = "到账信息-银行名称")
    private String bankName;

    @Schema(description = "到账日期")
    private String bankPayTime;

    @Schema(description = "到账金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal bankPrice;

    @Schema(description = "发票类型")
    private String invoiceType;

    @Schema(description = "开票日期")
    private String invoiceTime;

    @Schema(description = "开票金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal invoicePrice;

    @Schema(description = "报告份数")
    @QueryField(type = QueryType.EQ)
    private String reportNum;

    @Schema(description = "底稿人员")
    @QueryField(type = QueryType.EQ)
    private Integer draftUserId;

    @Schema(description = "参与成员")
    private String userIds;

    @Schema(description = "签字注会")
    @QueryField(type = QueryType.EQ)
    private Integer signUserId;

    @Schema(description = "展业人员")
    @QueryField(type = QueryType.EQ)
    private Integer saleUserId;

    @Schema(description = "备注")
    private String comments;

    @Schema(description = "排序(数字越小越靠前)")
    @QueryField(type = QueryType.EQ)
    private Integer sortNumber;

    @Schema(description = "状态, 0正常, 1冻结")
    @QueryField(type = QueryType.EQ)
    private Integer status;

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

    @Schema(description = "客户ID")
    @QueryField(type = QueryType.EQ)
    private Integer userId;

    @Schema(description = "当前登录用户")
    @TableField(exist = false)
    private Integer loginUserId;

    @Schema(description = "项目ID集合")
    @TableField(exist = false)
    private Set<Integer> projectIds;

}
