
package org.sky.scientific.pojo.dto;

import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.io.Serializable;

/**
 * 每月实际参研人员名单
 *
 * @author Kd
 * @since 2025-06-29
 */
 @Data
public class XmSalaryDto implements Serializable {

	@Schema(description = "所属年月，如：202505 或者2025")
	@NotBlank(message = "请选择所属年月")
	@Size(min = 4, max = 6)
	private String yearAndMonth;

	@Schema(description = "项目名称")
 	private String xmmc;

	@Schema(hidden = true)
	@JsonIgnore
	private String tenantId;
}
