package com.ruoyi.gysl.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.gysl.entity.baseModel.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 项目手册(GyslProjectHandbook)表实体类
 *
 * @author makejava
 * @since 2025-04-14 13:56:59
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("gysl_project_handbook")
@ApiModel(value="项目手册")
public class GyslProjectHandbook extends BaseModel {

    @TableId(type = IdType.AUTO)
    private Integer id;
   
    @ApiModelProperty(value ="手册名称" )
    @NotBlank(message = "手册名称不能为空!")
    private String name;
   
    @ApiModelProperty(value ="副标题1" )
    private String subtitle1;

    @ApiModelProperty(value ="副标题2" )
    private String subtitle2;

    @ApiModelProperty(value ="项目id" )
    @NotBlank(message = "请选择项目id!")
    private String xmId;
   
    @ApiModelProperty(value ="单位名称" )
    private String dwname;

    @ApiModelProperty(value ="联系人" )
    private String lxname;

    @ApiModelProperty(value ="手机号" )
    private String phone;

    @ApiModelProperty(value ="日期" )
    private String date;

    @ApiModelProperty(value ="地址" )
    private String address;

    @ApiModelProperty(value ="项目名称数组" )
    @TableField(exist = false)
    private List<BasicInformation> projectName;
}

