package com.gxwebsoft.oa.param; 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 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:13:16 */ @Data @EqualsAndHashCode(callSuper = false) @JsonInclude(JsonInclude.Include.NON_NULL) @ApiModel(value = "AssetsParam对象", description = "服务器资产记录表查询参数") public class AssetsParam extends BaseParam { private static final long serialVersionUID = 1L; @ApiModelProperty(value = "资产ID") @QueryField(type = QueryType.EQ) private Integer assetsId; @ApiModelProperty(value = "资产名称") private String name; @ApiModelProperty(value = "资产标识") private String code; @ApiModelProperty(value = "资产类型") private String type; @ApiModelProperty(value = "服务器厂商") private String brand; @ApiModelProperty(value = "服务器配置") private String configuration; @ApiModelProperty(value = "初始账号") private String account; @ApiModelProperty(value = "初始密码") private String password; @ApiModelProperty(value = "(阿里云/腾讯云)登录账号") private String brandAccount; @ApiModelProperty(value = "(阿里云/腾讯云)登录密码") private String brandPassword; @ApiModelProperty(value = "宝塔面板") private String panel; @ApiModelProperty(value = "宝塔面板账号") private String panelAccount; @ApiModelProperty(value = "宝塔面板密码") private String panelPassword; @ApiModelProperty(value = "财务信息-合同金额") @QueryField(type = QueryType.EQ) private BigDecimal financeAmount; @ApiModelProperty(value = "购买年限") @QueryField(type = QueryType.EQ) private Integer financeYears; @ApiModelProperty(value = "续费金额") @QueryField(type = QueryType.EQ) private BigDecimal financeRenew; @ApiModelProperty(value = "客户名称") private String financeCustomerName; @ApiModelProperty(value = "客户联系人") private String financeCustomerContact; @ApiModelProperty(value = "客户联系电话") private String financeCustomerPhone; @ApiModelProperty(value = "客户ID") @QueryField(type = QueryType.EQ) private Integer customerId; @ApiModelProperty(value = "客户名称") private String customerName; @ApiModelProperty(value = "开放端口") private String openPort; @ApiModelProperty(value = "详情内容") private String content; @ApiModelProperty(value = "购买时间") private String startTime; @ApiModelProperty(value = "到期时间") private String endTime; @ApiModelProperty(value = "置顶状态") private String isTop; @ApiModelProperty(value = "可见性(public,private,protected)") private String visibility; @ApiModelProperty(value = "文章排序(数字越小越靠前)") @QueryField(type = QueryType.EQ) private Integer sortNumber; @ApiModelProperty(value = "描述") private String comments; @ApiModelProperty(value = "用户ID") @QueryField(type = QueryType.EQ) private Integer userId; @ApiModelProperty(value = "机构id") @QueryField(type = QueryType.EQ) private Integer organizationId; @ApiModelProperty(value = "状态, 0正常, 1冻结") private String status; @ApiModelProperty(value = "是否删除, 0否, 1是") @QueryField(type = QueryType.EQ) private Integer deleted; @ApiModelProperty(value = "客户名称") @TableField(exist = false) private String companyName; }