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_settlement")
@ApiModel(value="ProcureSettlement对象", description="采购结算单")
public class ProcureSettlement extends Base {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "结算日期")
    private Date settlementDate;

    @ApiModelProperty(value = "采购日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date procurementDate;

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

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

    @ApiModelProperty(value = "结算方式")
    private String settlementMethod;

    @ApiModelProperty(value = "结算批次")
    private String settlementBatch;
    @TableField(exist =  false)
    private List<ProcureSettlementGoods> goods;

}
