
package org.sky.scientific.pojo.entity;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import io.swagger.v3.oas.annotations.media.Schema;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import org.sky.core.tenant.mp.TenantEntity;
import java.io.Serial;

/**
 * 项目预算-其他费用 实体类
 *
 * @author Kd
 * @since 2025-06-29
 */
@Data
@TableName("kd_ys_qtfy")
@Schema(description = "YsQtfy对象")
@EqualsAndHashCode(callSuper = true)
public class YsQtfyEntity extends TenantEntity {

	@Serial
	private static final long serialVersionUID = 1L;

	@Schema(description = "科研项目id，kd_xm的主键")
	@NotNull(message = "请选择研发项目")
	private Long xmId;

	@Schema(description = "费用内容")
	private String fynr;

	@Schema(description = "预算金额")
	private Double ysje;

}
