新增成品检验报工
parent
33be7da477
commit
736087852e
@ -0,0 +1,37 @@
|
||||
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)
|
||||
private String code;
|
||||
|
||||
@Column(name="VALUE")
|
||||
@ApiParam(value ="值")
|
||||
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> {
|
||||
}
|
Loading…
Reference in New Issue