package com.ruoyi.zdsz.domain.bo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

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

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

/**
 * 顶管工程业务对象 z_engineering_pipe_jacking
 *
 * @author ruoyi
 * @date 2024-01-02
 */

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

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

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


    private String enginName;
    /**
     * type
     */
    private String type;

    /**
     * 工程地址
     */
    @NotBlank(message = "工程地址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String enginAddre;

    /**
     * 工程编码
     */
    @NotBlank(message = "工程编码不能为空", groups = { AddGroup.class, EditGroup.class })
    private String enginCode;

    /**
     * 施工单位
     */
    @NotBlank(message = "施工单位不能为空", groups = { AddGroup.class, EditGroup.class })
    private String constructUnit;

    /**
     * 工程规模
     */
    @NotBlank(message = "工程规模不能为空", groups = { AddGroup.class, EditGroup.class })
    private String enginScale;

    /**
     * 施工质量
     */
    @NotBlank(message = "施工质量不能为空", groups = { AddGroup.class, EditGroup.class })
    private String constructQuality;

    /**
     * 施工进度
     */
    @NotBlank(message = "施工进度不能为空", groups = { AddGroup.class, EditGroup.class })
    private String constructSchedule;

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

    private Double pePreset;
    private Double gcPreset;

    //单表单
    private ZEngineeringNodeBo zEngineeringNodeBo;

    public List<ZEngineeringNodeBo> getzEngineeringNodeBoList() {
        return zEngineeringNodeBoList;
    }

    public void setzEngineeringNodeBoList(List<ZEngineeringNodeBo> zEngineeringNodeBoList) {
        this.zEngineeringNodeBoList = zEngineeringNodeBoList;
    }

    //多表单
    private List<ZEngineeringNodeBo> zEngineeringNodeBoList;

    public List<ZFileBo> getFiles() {
        return files;
    }

    public void setFiles(List<ZFileBo> files) {
        this.files = files;
    }

    private List<ZFileBo> files;

    public ZEngineeringNodeBo getzEngineeringNodeBo() {
        return zEngineeringNodeBo;
    }

    public void setzEngineeringNodeBo(ZEngineeringNodeBo zEngineeringNodeBo) {
        this.zEngineeringNodeBo = zEngineeringNodeBo;
    }
}
