package com.ruoyi.zdsz.domain.bo;

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_engin_specifications
 *
 * @author ruoyi
 * @date 2023-12-29
 */

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

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

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

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


}
