Merge branches 'ext-dev' and 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into ext-dev
commit
988c49762b
@ -0,0 +1,38 @@
|
||||
package cn.estsh.i3plus.pojo.aps.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.aps.annotation.FieldAnnotation;
|
||||
import cn.estsh.i3plus.pojo.aps.common.BaseAPS;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
|
||||
/**
|
||||
* @Description :优先级
|
||||
* @Reference :
|
||||
* @Author : jason.niu
|
||||
* @CreateDate : 2021-04-08
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Entity
|
||||
@Table(name = "APS_PRIORITY_TYPE")
|
||||
@Api("优先级")
|
||||
public class PriorityType extends BaseAPS {
|
||||
private static final long serialVersionUID = 445577901076659576L;
|
||||
|
||||
@Column(name="CODE")
|
||||
@ApiParam(value ="标识")
|
||||
@FieldAnnotation(mainkey = true, popSearch = true)
|
||||
private String code;
|
||||
|
||||
@Column(name="VALUE")
|
||||
@ApiParam(value ="值")
|
||||
@FieldAnnotation(notEmpty = true, popSearch = true)
|
||||
private Integer value;
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package cn.estsh.i3plus.pojo.aps.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.aps.bean.PriorityType;
|
||||
import org.springframework.data.repository.CrudRepository;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface PriorityTypeRepository extends CrudRepository<PriorityType, Long> {
|
||||
}
|
@ -1,7 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<Class name="Material">
|
||||
<Relation field="ProductRoutings" name="ProductRouting" reverse="Material" type="ONE_TO_MULTI" owner="true">
|
||||
</Relation>
|
||||
<Relation field="ProductRoutings" name="ProductRouting" reverse="Material" type="ONE_TO_MULTI" owner="true">
|
||||
</Relation>
|
||||
<Relation field="Childs" name="Material" reverse="Group" type="ONE_TO_MULTI" owner="false">
|
||||
</Relation>
|
||||
<Relation field="WorkShop" name="WorkShop" type="MULTI_TO_ONE" owner="false">
|
||||
</Relation>
|
||||
</Class>
|
Loading…
Reference in New Issue