package com.hotwj.platform.noticeManagerment.signFileDetail.domain.bo;

import com.hotwj.platform.noticeManagerment.signFileDetail.domain.HotSignFileDetail;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.AddGroup;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.util.Date;

/**
 * 签订文件明细业务对象 hot_sign_file_detail
 *
 * @author shihongwei
 * @date 2026-01-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotSignFileDetail.class, reverseConvertGenerate = false)
public class HotSignFileDetailBo extends BaseEntity {

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

    /**
     * 公司ID
     */
    @NotNull(message = "公司ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long companyId;

    /**
     * 文件ID
     */
    @NotNull(message = "文件ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long issueFileId;

    /**
     * 人员ID
     */
    @NotNull(message = "人员ID不能为空", groups = {AddGroup.class, EditGroup.class})
    private String staffId;

    /**
     * 人员名称
     */
    private String staffName;

    /**
     * 人员类型
     */
    private Long staffType;

    /**
     * 签订时间
     */
    private Date signTime;

    /**
     * 是否签订 0=否 1=是
     */
    @NotNull(message = "是否签订 0=否 1=是不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long signStatus;

    /**
     * 到期时间
     */
    private Date expireTime;

    /**
     * 是否归档 0=否 1=是
     */
    private Long isArchived;

    /**
     * 0=正常, 1=已删除
     */
    private Long isDeleted;

    /**
     * 创建人显示名称
     */
    private String createByName;

    /**
     * 最后修改人显示名称
     */
    private String updateByName;

    /**
     * 签名ossId
     */
    private String signOssId;


}
