package com.hotwj.platform.securityManagement.safetyInvestment.domain.bo;

import com.hotwj.platform.securityManagement.safetyInvestment.domain.HotSafetyInvestment;
import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 安全生产投入业务对象 hot_safety_investment
 *
 * @author shihongwei
 * @date 2025-12-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = HotSafetyInvestment.class, reverseConvertGenerate = false)
public class HotSafetyInvestmentBo extends BaseEntity {

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

    /**
     * 公司ID
     */
    private Long companyId;

    /**
     * 投入类型（字典）
     */
    private String investmentType;

    /**
     * 投入名称
     */
    private String investmentName;

    /**
     * 数量
     */
    private Long quantity;

    /**
     * 投入金额
     */
    private BigDecimal investmentAmount;

    /**
     * 投入时间
     */
    private Date investmentTime;

    /**
     * 票据（pdf、jpg，OSS文件id）
     */
    private String receiptAttachments;

    /**
     * 使用部门
     */
    private String useDept;

    /**
     * 使用缘由
     */
    private String useReason;

    /**
     * 备注
     */
    private String remark;

    /**
     * 负责人签字OSS文件ID
     */
    private String responsibleSignatureId;

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


}
