package com.njcn.product.cnzutai.zutai.pojo.param;

import com.njcn.web.pojo.param.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * Description:
 * Date: 2023/5/31  10:35【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
@Data
public class CsConfigurationParm  {


    /**
     * 组态项目名称
     */
    @ApiModelProperty(value = "组态项目名称")
    @NotBlank(message="组态项目名称不能为空")
    private String name;

    private String remark;

    private List<String> projectIds;

    private List<String> substionIds;


    private Integer orderBy;

    private String fileContent;




    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class CsConfigurationAuditParam extends CsConfigurationParm {
        @ApiModelProperty("Id")
        @NotBlank(message = "id不为空")
        private String id;
        @ApiModelProperty(value = "状态")
        private String status;
    }

    /**
     * 分页查询实体
     */
    @Data
    @EqualsAndHashCode(callSuper = true)
    public static class CsConfigurationQueryParam extends BaseParam {
        private String id;

    }




}