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 科技小王子
 * @since 2024-10-18 18:27:02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "OaAssetsEmailParam对象", description = "企业邮箱记录表查询参数")
public class OaAssetsEmailParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

    @ApiModelProperty(value = "邮箱名称")
    private String name;

    @ApiModelProperty(value = "域名标识")
    private String code;

    @ApiModelProperty(value = "邮箱型号")
    private String type;

    @ApiModelProperty(value = "品牌厂商")
    private String brand;

    @ApiModelProperty(value = "初始账号")
    private String system;

    @ApiModelProperty(value = "价格")
    @QueryField(type = QueryType.EQ)
    private BigDecimal price;

    @ApiModelProperty(value = "详情内容")
    private String content;

    @ApiModelProperty(value = "购买时间")
    private String startTime;

    @ApiModelProperty(value = "到期时间")
    private String endTime;

    @ApiModelProperty(value = "置顶状态")
    private String isTop;

    @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 = "可见用户")
    private String userIds;

    @ApiModelProperty(value = "状态, 0正常, 1冻结")
    private String status;

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

}
