package cn.lihongjie.coal.deliveryInformation.entity;

import cn.lihongjie.coal.base.entity.OrgCommonEntity;
import cn.lihongjie.coal.purchaseOrder.entity.PurchaseOrderEntity;

import jakarta.persistence.Entity;
import jakarta.persistence.ManyToOne;

import lombok.Data;

import org.hibernate.annotations.Comment;

import java.time.LocalDate;

@Data
@Entity
public class DeliveryInformationEntity extends OrgCommonEntity {


    private LocalDate deliveryDate;


    @Comment("收货数量")
    private Double amount;


    @Comment("车数")
    private Double carCount;


    @ManyToOne
    private PurchaseOrderEntity purchaseOrder;
}
