package com.ruoyi.zdsz.domain.bo;

import com.alibaba.excel.annotation.ExcelProperty;
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 com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用料统计业务对象 z_material_statistics
 *
 * @author ruoyi
 * @date 2023-12-27
 */

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

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

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

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

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

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

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

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

    /**
     * 预估尺寸
     */
    @NotNull(message = "预估尺寸不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long realitySize;

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

    /**
     * 备注
     */
    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;
    @NotBlank(message = "工程分类不能为空", groups = { AddGroup.class, EditGroup.class })
    private String enginClassification;
    @NotBlank(message = "工程类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String enginType;
    @NotBlank(message = "节点类型不能为空", groups = { AddGroup.class, EditGroup.class })
    private String nodeType;


}
