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

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
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.ArrayList;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;

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

/**
 * 管理老师信息业务对象 tb_management_teacher
 *
 * @author baifc
 * @date 2025-09-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("管理老师信息业务对象")
public class ManagementTeacherBo extends BaseEntity {

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

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

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号", required = true)
    @NotBlank(message = "手机号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String phoneNumber;

    /**
     * 性别
     */
    @ExcelProperty(value = "性别")
    @NotBlank(message = "性别不能为空", groups = { AddGroup.class, EditGroup.class })
    private String sex;

    /**
     * 年龄
     */
    @ApiModelProperty(value = "年龄", required = true)
    @NotNull(message = "年龄不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer age;

    /**
     * 工作年限
     */
    @ApiModelProperty(value = "工作年限", required = true)
    @NotNull(message = "工作年限不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer workYears;

    /**
     * 身份证号
     */
    @ApiModelProperty(value = "身份证号", required = true)
    @NotBlank(message = "身份证号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String idCard;

    /**
     * 状态 0-启用 1-禁用
     */
    @ApiModelProperty(value = "状态 0-启用 1-禁用", required = true)
    @NotBlank(message = "状态 0-启用 1-禁用不能为空", groups = { AddGroup.class, EditGroup.class })
    private String enableStatus;

    /**
     * 排序序号
     */
    @ApiModelProperty(value = "排序序号", required = true)
    @NotNull(message = "排序序号不能为空", groups = { AddGroup.class, EditGroup.class })
    private Integer sortOrder;

    /**
     * 形象照片url
     */
    @ApiModelProperty(value = "形象照片url", required = true)
    @NotBlank(message = "形象照片url不能为空", groups = { AddGroup.class, EditGroup.class })
    private String photographUrl;

    /**
     * 是否开启管理护工权限 N-否 Y-是
     */
    @ApiModelProperty(value = "是否开启管理护工权限 N-否 Y-是", required = true)
    @NotBlank(message = "是否开启管理护工权限 N-否 Y-是不能为空", groups = { AddGroup.class, EditGroup.class })
    private String manageNursingFlag;


    /**
     * 科室id列表
     */
    private List<Long> departmentIds;

}
