package com.ruoyi.info.nursing.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

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

/**
 * 护工从业证书信息业务对象 tb_nursing_certificate
 *
 * @author baifc
 * @date 2025-09-29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("护工从业证书信息业务对象")
public class NursingCertificateBo extends BaseEntity {

    /**
     * id
     */
    @ApiModelProperty(value = "id", required = true)
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 护工id
     */
    @ApiModelProperty(value = "护工id", required = true)
    private Long workerId;

    /**
     * 证书名称
     */
    @ApiModelProperty(value = "证书名称", required = true)
    @NotBlank(message = "证书名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String certificateName;

    /**
     * 证书图片url
     */
    @ApiModelProperty(value = "证书图片url", required = true)
    @NotBlank(message = "证书图片url不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pictureUrl;


}
