
package org.sky.scientific.pojo.entity;

import jakarta.validation.constraints.NotBlank;
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_xm_wwxm")
@Schema(description = "XmWwxm对象")
@EqualsAndHashCode(callSuper = true)
public class XmWwxmEntity extends TenantEntity {

	@Serial
	private static final long serialVersionUID = 1L;

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

	@Schema(description = "所属年份，如：2025")
	@NotBlank(message = "请选择所属年份")
	private String yearAndMonth;

	@Schema(description = "受托方全称")
	private String stfqc;

	@Schema(description = "受托方类型，业务字典 trustee_type")
	private String stflx;

	@Schema(description = "合同名称")
	private String htmc;

	@Schema(description = "委外费用金额（万元）")
	private Double wwfyje;

	@Schema(description = "是否完成技术合同登记，是/否")
	private String sfwcjshtdj;

	@Schema(description = "技术合同登记类型")
	private String jshtdjlx;

	@Schema(description = "技术合同登记金额（万元）")
	private Double jshtdjje;

	@Schema(description = "技术合同协议")
	private String jshtxy;

	@Schema(description = "委外费用发票")
	private String wwfyfp;

	@Schema(description = "技术合同登记证明")
	private String jshtdjzm;

	@Schema(description = "受托方交付成果")
	private String stfjfcg;

	@Schema(description = "其他资料")
	private String qtzl;

}
