package com.yiboshi.science.entity;

import com.yiboshi.science.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import java.math.BigDecimal;

/**
 * 项目申请书在研项目情况表VO
 * 
 * @author lkl
 * @version 2021-08-26
 */
@Data
@EqualsAndHashCode(callSuper=true)
@ApiModel(description = "项目申请书在研项目情况表VO")
public class ComProjcetResearch extends BaseEntity {
    /** 项目id */
    @ApiModelProperty(value = "项目id", position = 1 )
    @Length(max=36, message = "项目id不能大于36")
    private String projId;
    /** 项目编号 */
    @ApiModelProperty(value = "项目编号", position = 2 )
    @Length(max=50, message = "项目编号不能大于50")
    private String projNo;
    /** 项目名称 */
    @ApiModelProperty(value = "项目名称", position = 3 )
    @Length(max=200, message = "项目名称不能大于200")
    private String projName;
    /** 项目来源 */
    @ApiModelProperty(value = "项目来源", position = 4 )
    @Length(max=200, message = "项目来源不能大于200")
    private String approveUnit;
    /** 负责人 */
    @ApiModelProperty(value = "负责人", position = 5 )
    @Length(max=60, message = "负责人不能大于60")
    private String headName;
    /** 起止年限 */
    @ApiModelProperty(value = "起止年限", position = 6 )
    private Integer ageLimit;
    /** 项目经费 */
    @ApiModelProperty(value = "项目经费", position = 7 )
    private BigDecimal funding;
    /** 与本项目关系 */
    @ApiModelProperty(value = "与本项目关系", position = 8 )
    @Length(max=200, message = "与本项目关系不能大于200")
    private String relation;
}