package net.northking.cctp.scriptcase.dto.sceneScript;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Size;
import java.io.Serializable;
import java.util.List;

@Data
@JsonSerialize
@ApiModel(description = "场景脚本分页条件")
public class AtuSceneScriptQueryDto implements Serializable {
    /**
     * 关键字<br>
     */
    @ApiModelProperty("关键字")
    @Size(max = 30, message="关键字-keyword: 数据长度不能 > 30" )
    private String keyword;
    @ApiModelProperty("场景隶属系统")
    public List<String> projectId;
    @ApiModelProperty("场景名称")
    public String sceneName;
    @ApiModelProperty("场景脚本创建人名")
    public String createName;

    @ApiModelProperty("负责人")
    @Size(max = 32, message="负责人-principal: 数据长度不能 > 32" )
    private String principal;

    @ApiModelProperty("修改人")
    @Size(max = 32, message="修改人-updatedBy: 数据长度不能 > 32" )
    private String updatedName;

    @ApiModelProperty("创建时间开始")
    private String createdTimeStart;
    @ApiModelProperty("创建时间结束")
    private String createdTimeEnd;
    @ApiModelProperty("修改时间开始")
    private String updatedTimeStart;
    @ApiModelProperty("修改时间结束")
    private String updatedTimeEnd;

    private List<String> principalIds;

    private String creatorId;

    private String principalId;

    private String updateBy;
}
