/* * Copyright (c) 2018-2025, ztt All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the pig4cloud.com developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: ztt */ package com.chinaztt.mes.plan.entity; import com.baomidou.mybatisplus.annotation.LinkedField; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.extension.activerecord.Model; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.AllArgsConstructor; import lombok.Data; import lombok.EqualsAndHashCode; /** * 客户订单和主生产计划需求关联表 * * @author cxf * @date 2020-09-16 09:25:28 */ @Data @TableName("plan_join_order_requirements") @EqualsAndHashCode(callSuper = true) @AllArgsConstructor @ApiModel(value = "客户订单和主生产计划需求关联表") public class PlanJoinOrderRequirements extends Model { private static final long serialVersionUID = 1L; /** * 客户订单id */ @LinkedField(sourceTable ="plan_customer_order" ,sourceField="id") @ApiModelProperty(value = "客户订单id") private Long customerOrderId; /** * 主生产计划需求id */ @LinkedField(sourceTable ="plan_master_production_schedule" ,sourceField="id") @ApiModelProperty(value = "主生产计划需求id") private Long mpsRequirementsId; }