package com.gxwebsoft.oa.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 WebSoft
 * @since 2022-11-16 11:00:43
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "ProjectParam对象", description = "项目管理表查询参数")
public class ProjectParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "项目标识")
    private String projectCode;

    @ApiModelProperty(value = "商品分类")
    private String projectCategory;

    @ApiModelProperty(value = "项目商标")
    private String projectAvatar;

    @ApiModelProperty(value = "项目域名")
    private String url;

    @ApiModelProperty(value = "开发版域名")
    private String urlDev;

    @ApiModelProperty(value = "后台管理地址")
    private String urlAdmin;

    @ApiModelProperty(value = "默认账号密码")
    private String account;

    @ApiModelProperty(value = "项目金额")
    @QueryField(type = QueryType.EQ)
    private BigDecimal money;

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

    @ApiModelProperty(value = "年费")
    @QueryField(type = QueryType.EQ)
    private BigDecimal annualFee;

    @ApiModelProperty(value = "项目详情")
    private String content;

    @ApiModelProperty(value = "开发参数(json)")
    private String param;

    @ApiModelProperty(value = "二维码")
    private String qrcode;

    @ApiModelProperty(value = "客户名称")
    private String customerName;

    @ApiModelProperty(value = "项目进度（10待安排 20策划设计 30功能开发 40待验收 50完成）")
    @QueryField(type = QueryType.EQ)
    private Integer progress;

    @ApiModelProperty(value = "初始浏览数")
    @QueryField(type = QueryType.EQ)
    private Integer views;

    @ApiModelProperty(value = "状态(10上架 20下架)")
    @QueryField(type = QueryType.EQ)
    private Integer status;

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

    @ApiModelProperty(value = "是否精选客户案例")
    @QueryField(type = QueryType.EQ)
    private Boolean isCase;

    @ApiModelProperty(value = "负责人")
    @QueryField(type = QueryType.EQ)
    private Integer commander;

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

    @ApiModelProperty(value = "机构id")
    @QueryField(type = QueryType.EQ)
    private Integer organizationId;

    @ApiModelProperty(value = "可见性(public,private,protected)")
    private String visibility;

    @ApiModelProperty(value = "项目归属者")
    @QueryField(type = QueryType.EQ)
    private Integer customerId;

    @ApiModelProperty(value = "项目描述")
    private String comments;

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

}
