package com.fuyuanshen.app.domain.bo;

import com.fuyuanshen.app.domain.AppPersonnelInfoRecords;
import com.fuyuanshen.common.core.validate.AddGroup;
import com.fuyuanshen.common.core.validate.EditGroup;
import com.fuyuanshen.common.mybatis.core.domain.BaseEntity;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;
import jakarta.validation.constraints.*;

/**
 * 人员信息登记记录业务对象 app_personnel_info_records
 *
 * @author CYT
 * @date 2025-08-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = AppPersonnelInfoRecords.class, reverseConvertGenerate = false)
public class AppPersonnelInfoRecordsBo extends BaseEntity {

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

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

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

    /**
     * 人员姓名
     */
    private String name;

    /**
     * 职位
     */
    private String position;

    /**
     * 单位名称
     */
    private String unitName;

    /**
     * ID号
     */
    private String code;

    /**
     * 发送信息
     */
    private String sendMsg;


}
