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

	@Serial
	private static final long serialVersionUID = 1L;

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

	@Schema(description = "科技人员id")
	@NotNull(message = "请选择科技人员")
	private Long technicianId;

	@Schema(description = "在项目中的工作时长（月）")
	@NotNull(message = "请填写在项目中的工作时长")
	private Integer zzsc;

	@NotNull(message = "请填写月平均人工费用")
	@Schema(description = "月平均人工费用/元")
	private Double pjrgfy;

}
