package com.ruoyi.zdsz.domain.bo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.Version;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.*;

import javax.validation.constraints.*;

import java.util.Date;
import java.util.List;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工程节点业务对象 z_engineering_node
 *
 * @author ruoyi
 * @date 2023-12-27
 */

@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class ZEngineeringNodeBo extends BaseEntity {

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    private String id;

    /**
     * 民用工程id
     */
    @NotBlank(message = "民用工程id不能为空", groups = { AddGroup.class, EditGroup.class })
    private String civliId;

    /**
     * 节点类型
     */
    @NotBlank(message = "节点类型不能为空", groups = { AddGroup.class, EditGroup.class })
//    @ExcelProperty(value = "节点类型")
    private String type;

    /**
     * 审核状态(未审核、未通过-0 审核通过-1 无需审核-null)
     */
//    @NotBlank(message = "审核状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String reviewStatus;
    /**
     * 审核内容
     */
    private String reviewContent;

    /**
     * 备注
     */
//    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    public ZEngineeringInfoBo getzEngineeringInfoBo() {
        return zEngineeringInfoBo;
    }

    public void setzEngineeringInfoBo(ZEngineeringInfoBo zEngineeringInfoBo) {
        this.zEngineeringInfoBo = zEngineeringInfoBo;
    }

    /**
     * 工程详情
     */
    private ZEngineeringInfoBo zEngineeringInfoBo;


    public List<ZEngineeringInfoBo> getzEngineeringInfoBoList() {
        return zEngineeringInfoBoList;
    }

    public void setzEngineeringInfoBoList(List<ZEngineeringInfoBo> zEngineeringInfoBoList) {
        this.zEngineeringInfoBoList = zEngineeringInfoBoList;
    }

    private List<ZEngineeringInfoBo> zEngineeringInfoBoList;

}
