package com.ruoyi.web.base.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.web.base.domain.base.Base;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 供应商报价单
 * </p>
 *
 * @author author
 * @since 2026-02-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("procure_quotation")
@ApiModel(value="ProcureQuotation对象", description="供应商报价单")
public class ProcureQuotation extends Base {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "单据编号")
    private String quotationNum;

    @ApiModelProperty(value = "报价单编名称")
    private String quotationName;

    @ApiModelProperty(value = "拷贝单号")
    private String copyNum;

    @ApiModelProperty(value = "单据日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date documentDate;

    @ApiModelProperty(value = "报价日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date quotationDate;

    @ApiModelProperty(value = "供应商编号")
    private String supplierNum;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "供应商电话")
    private String supplierPhone;

    @ApiModelProperty(value = "业务员")
    private String employeeNum;

    @ApiModelProperty(value = "业务员")
    private String employeeName;

    @ApiModelProperty(value = "备注1")
    private String remark1;

    @ApiModelProperty(value = "总金额")
    private String totalAmount;

    @TableField(exist =  false)
    private List<ProcureQuotationGoods> goods;


}
