package com.ruoyi.pay.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;

/**
 * 毛料信息业务对象 pay_material
 *
 * @author ruoyi
 * @date 2025-05-12
 */

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

    /**
     * 主键ID
     */
    //@NotNull(message = "主键ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 租户id
     */
    @NotNull(message = "租户id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long tenantId;

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

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

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

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

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

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


}
