
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_zjtrfy")
@Schema(description = "YsZjtrfy对象")
@EqualsAndHashCode(callSuper = true)
public class YsZjtrfyEntity extends TenantEntity {

	@Serial
	private static final long serialVersionUID = 1L;

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

	@Schema(description = "物资名称")
	@NotNull(message = "请填写物资名称")
	private String wzmc;

	@Schema(description = "用量")
	private Integer yongLiang;

	@Schema(description = "单价")
	private Double danJia;

	@Schema(description = "仪器设备名称")
	private String yqsbmc;

	@Schema(description = "用于运行维护、维修的预算金额")
	private Double ysje;

	@Schema(description = "固定资产名称（租赁）")
	private String gdzcmc;

	@Schema(description = "租赁费用预算")
	private Double zlfyys;
}
