
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_sjfy")
@Schema(description = "YsSjfy对象")
@EqualsAndHashCode(callSuper = true)
public class YsSjfyEntity 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 sjnr;

	@NotNull(message = "请填写预算金额")
	@Schema(description = "预算金额")
	private Double ysje;

}
