|
|
|
@ -26,35 +26,37 @@ import javax.persistence.Table;
|
|
|
|
|
@Table(name = "APS_SHIPPING_TIME")
|
|
|
|
|
@Api("运输时间")
|
|
|
|
|
public class ShippingTime extends BaseAPS {
|
|
|
|
|
@Column(name="TIME")
|
|
|
|
|
@ApiParam(value ="运输时间")
|
|
|
|
|
private String time;
|
|
|
|
|
|
|
|
|
|
@Column(name="PRIORITY")
|
|
|
|
|
@ApiParam(value ="优先级")
|
|
|
|
|
@FieldAnnotation(defaultValue = "10")
|
|
|
|
|
private Integer priority;
|
|
|
|
|
|
|
|
|
|
@Column(name="PREV_RES_CODE")
|
|
|
|
|
@ApiParam(value ="前资源对象Id")
|
|
|
|
|
@FieldAnnotation(property = false)
|
|
|
|
|
@ApiParam(value ="前资源编码")
|
|
|
|
|
@FieldAnnotation(relation = "PrevRes")
|
|
|
|
|
private Long prevResId;
|
|
|
|
|
|
|
|
|
|
@Column(name="POST_RES_CODE")
|
|
|
|
|
@ApiParam(value ="后资源对象Id")
|
|
|
|
|
@FieldAnnotation(property = false)
|
|
|
|
|
@ApiParam(value ="后资源编码")
|
|
|
|
|
@FieldAnnotation(relation = "PostRes")
|
|
|
|
|
private Long postResId;
|
|
|
|
|
|
|
|
|
|
@Column(name="PREV_STAND_CODE")
|
|
|
|
|
@ApiParam(value ="前标准工序对象Id")
|
|
|
|
|
@FieldAnnotation(property = false)
|
|
|
|
|
@ApiParam(value ="前标准工序编码")
|
|
|
|
|
@FieldAnnotation(relation = "PrevStand")
|
|
|
|
|
private Long prevStandId;
|
|
|
|
|
|
|
|
|
|
@Column(name="POST_STAND_CODE")
|
|
|
|
|
@ApiParam(value ="后标准工序对象Id")
|
|
|
|
|
@FieldAnnotation(property = false)
|
|
|
|
|
@ApiParam(value ="后标准工序编码")
|
|
|
|
|
@FieldAnnotation(relation = "PostStand")
|
|
|
|
|
private Long postStandId;
|
|
|
|
|
|
|
|
|
|
@Column(name="TIME")
|
|
|
|
|
@ApiParam(value ="运输时间")
|
|
|
|
|
@FieldAnnotation(notEmpty = true)
|
|
|
|
|
private String time;
|
|
|
|
|
|
|
|
|
|
@Column(name="PRIORITY")
|
|
|
|
|
@ApiParam(value ="优先级")
|
|
|
|
|
@FieldAnnotation(defaultValue = "10")
|
|
|
|
|
private Integer priority;
|
|
|
|
|
|
|
|
|
|
public Resource getPrevRes() {return BeanRelation.get(this, EShippingTime.PrevRes); }
|
|
|
|
|
|
|
|
|
|
public void setPrevRes(Resource res) {
|
|
|
|
|