package cn.iocoder.yudao.module.bpm.controller.admin.oa.vo.supplierprocurementplan;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 供应商采购计划子 Response VO")
@Data
public class BpmOASupplierProcurementPlanItemRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "26923")
    private Long id;

    @Schema(description = "申请人的用户编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "29804")
    private Long userId;

    @Schema(description = "供应商采购计划id", requiredMode = Schema.RequiredMode.REQUIRED, example = "12127")
    private Long procurementPlanId;

    @Schema(description = "工厂编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "31764")
    private Long factoryId;

    @Schema(description = "供应商商品id", requiredMode = Schema.RequiredMode.REQUIRED, example = "31243")
    private Long supplierProductId;

    @Schema(description = "供应商商品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "12127")
    private String supplierProductName;

    @Schema(description = "资产类型id", requiredMode = Schema.RequiredMode.REQUIRED, example = "12127")
    private Long typeId;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer num;

    @Schema(description = "供应商价格", example = "30063")
    private BigDecimal supplierPrice;

    @Schema(description = "实际价格", example = "21988")
    private BigDecimal actualPrice;

    @Schema(description = "收货地址")
    private String shippingAddress;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    private LocalDateTime createTime;



    @Schema(description = "工厂名称")
    private String factoryName;
    @Schema(description = "资产类型名称")
    private String typeName;

}
