
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_ys_wxzctxfy")
@Schema(description = "YsWxzctxfy对象")
@EqualsAndHashCode(callSuper = true)
public class YsWxzctxfyEntity 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 assetId;

	@Schema(description = "资产编码")
	@NotBlank(message = "请选择资产")
	private String zcbm;

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

}
