package com.gxwebsoft.oa.param;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.gxwebsoft.common.core.annotation.QueryField;
import com.gxwebsoft.common.core.annotation.QueryType;
import com.gxwebsoft.common.core.web.BaseParam;
import com.gxwebsoft.oa.entity.App;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 工单回复记录表查询参数
 *
 * @author 科技小王子
 * @since 2023-03-05 00:52:21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "TaskRecordParam对象", description = "工单回复记录表查询参数")
public class TaskRecordParam extends BaseParam {
    private static final long serialVersionUID = 1L;

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

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

    @ApiModelProperty(value = "上级ID")
    private Integer parentId;

    @ApiModelProperty(value = "任务内容")
    private String content;

    @ApiModelProperty(value = "工单附件")
    private String files;

    @ApiModelProperty(value = "开发者ID")
    @QueryField(type = QueryType.EQ)
    private Integer developerId;

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

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

    @ApiModelProperty(value = "备注")
    private String comments;

    @ApiModelProperty(value = "状态, 0待处理, 1已完成")
    @QueryField(type = QueryType.EQ)
    private Integer status;

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

    @ApiModelProperty(value = "用户昵称")
    @QueryField(type = QueryType.EQ)
    private String nickname;

    @ApiModelProperty(value = "用户头像")
    @QueryField(type = QueryType.EQ)
    private String avatar;

}
