package com.yifu.cloud.plus.v1.batch.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 电子档案上传任务和档案明细关系表
 *
 * @author huych
 * @date 2025-12-17 11:02:01
 */
@Data
@TableName("t_task_archive_relation")
@EqualsAndHashCode()
@Schema(description = "电子档案上传任务和档案明细关系表")
public class TTaskArchiveRelation {

	/**
	 * 主键
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@ExcelProperty("主键")
	@Schema(description = "主键")
	private String id;

	/**
	 * 任务表ID
	 */
	@ExcelAttribute(name = "任务表ID")
	@ExcelProperty("任务表ID")
	@Schema(description = "任务表ID")
	private String taskId;

	/**
	 * 电子档案明细表ID
	 */
	@ExcelAttribute(name = "电子档案明细表ID")
	@ExcelProperty("电子档案明细表ID")
	@Schema(description = "电子档案明细表ID")
	private String archiveDetailId;

}
