
package org.sky.scientific.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 设置 实体类
 *
 * @author Kd
 * @since 2025-07-01
 */
@Data
@TableName("kd_setting")
public class SettingEntity {

	@Schema(
		description = "主键id"
	)
	@TableId(
		value = "id",
		type = IdType.ASSIGN_ID
	)
	private Long id;

	@Schema(description = "租户id")
	private String tenantId;

	@Schema(description = "所属年份")
//	@NotBlank(message = "参数yearAndMonth不能为空")
	private String yearAndMonth;

	@Schema(description = "出勤时长")
	private Double workHours;

	@Schema(description = "高企证书url")
	private String highTechUrl;

	@Schema(description = "火炬发展年报")
	private String torchDevUrl;

	@Schema(description = "类型,读取上年度数据时需要传这个值，1：出勤时长，2：高企证书")
	@TableField(exist = false)
	private Integer type;

}
