| | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.example.erp.entity.mm.FinishedGoodsInventory; |
| | | import lombok.Data; |
| | | |
| | | import java.time.LocalDate; |
| | | |
| | | @Data |
| | | @TableName("`order`") |
| | | @TableName("sd.`order`") |
| | | public class Order { |
| | | @TableId(type = IdType.AUTO) |
| | | |
| | |
| | | |
| | | @TableField(value = "customer_id") |
| | | private Customer customer; |
| | | @TableField(select = false) |
| | | private FinishedGoodsInventory finishedGoodsInventory; |
| | | |
| | | } |