|
|
|
@ -1,9 +1,12 @@
|
|
|
|
|
package cn.estsh.i3plus.pojo.aps.bean;
|
|
|
|
|
|
|
|
|
|
import cn.estsh.i3plus.pojo.aps.annotation.FieldAnnotation;
|
|
|
|
|
import cn.estsh.i3plus.pojo.aps.common.BaseCode;
|
|
|
|
|
import cn.estsh.i3plus.pojo.aps.annotation.MainKey;
|
|
|
|
|
import cn.estsh.i3plus.pojo.aps.common.BaseAPS;
|
|
|
|
|
import cn.estsh.i3plus.pojo.aps.common.BeanRelation;
|
|
|
|
|
import cn.estsh.i3plus.pojo.aps.holders.EProductRouting;
|
|
|
|
|
import cn.estsh.i3plus.pojo.aps.validator.InsertGroup;
|
|
|
|
|
import cn.estsh.i3plus.pojo.aps.validator.UpdateGroup;
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonBackReference;
|
|
|
|
|
import io.swagger.annotations.Api;
|
|
|
|
|
import io.swagger.annotations.ApiParam;
|
|
|
|
@ -28,7 +31,18 @@ import java.util.List;
|
|
|
|
|
@Entity
|
|
|
|
|
@Table(name = "APS_PRODUCT_ROUTING")
|
|
|
|
|
@Api("工艺路线")
|
|
|
|
|
public class ProductRouting extends BaseCode {
|
|
|
|
|
@MainKey(groups = {InsertGroup.class, UpdateGroup.class})
|
|
|
|
|
public class ProductRouting extends BaseAPS {
|
|
|
|
|
@Column(name="CODE")
|
|
|
|
|
@ApiParam(value ="编码")
|
|
|
|
|
@FieldAnnotation(popSearch = true, mainkey = true)
|
|
|
|
|
private String code;
|
|
|
|
|
|
|
|
|
|
@Column(name="NAME")
|
|
|
|
|
@ApiParam(value ="名称")
|
|
|
|
|
@FieldAnnotation(popSearch = true)
|
|
|
|
|
private String name;
|
|
|
|
|
|
|
|
|
|
@Column(name="MATERIAL_ID")
|
|
|
|
|
@ApiParam(value ="物料")
|
|
|
|
|
@FieldAnnotation(relation = "Material", notEmpty = true, display = false)
|
|
|
|
|