package com.ruoyi.buyerapi.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 委外研发记录对象 buyer_outsourcing
 *
 * @author ruoyi
 * @date 2022-09-22
 */
@ApiModel(value = "委外研发记录对象")
@Data
public class BuyerOutsourcing extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "id")
    private String id;

    /** 备注 */
    @ApiModelProperty(value = "备注")
    @Excel(name = "备注")
    private String remarks;

    /** 删除标志（0代表存在 1代表删除） */
    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）")
    private String delFlag;

    /** 公司id */
    @ApiModelProperty(value = "公司id")
    @Excel(name = "公司id")
    private String deptId;

    /** 项目id */
    @ApiModelProperty(value = "项目id")
    @Excel(name = "项目id")
    private String projectId;

    /** 项目名称 */
    @ApiModelProperty(value = "项目名称")
    @Excel(name = "项目名称")
    private String projectName;

    /** 领用日期 */
    @ApiModelProperty(value = "领用日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领用日期", width = 30, dateFormat = "yyyy-MM-dd")
    private String collectDate;

    /** 领料人 */
    @ApiModelProperty(value = "领料人")
    @Excel(name = "领料人")
    private String collecter;

    /** 种类 */
    @ApiModelProperty(value = "种类")
    @Excel(name = "种类")
    private String type;

    /** 摘要 */
    @ApiModelProperty(value = "摘要")
    @Excel(name = "摘要")
    private String info;

    /** 总次数 */
    @ApiModelProperty(value = "总次数")
    @Excel(name = "总次数")
    private Integer totalTimes;

    /** 委外研发金额 */
    @ApiModelProperty(value = "委外研发金额")
    @Excel(name = "委外研发金额")
    private BigDecimal amount;

    /** 项目总金额 */
    @ApiModelProperty(value = "项目总金额")
    @Excel(name = "项目总金额")
    private BigDecimal totalAmount;

    /** 关联文件 */
    @ApiModelProperty(value = "关联文件")
    private List<BuyerFileInfo> buyerFileInfos;

    /** 文件信息 */
    @ApiModelProperty(value = "文件信息")
    private String fileNames;

}
