新增工位表字段
parent
cfa54aa2b6
commit
61f3465255
@ -0,0 +1,44 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.bean;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||||
|
import io.swagger.annotations.Api;
|
||||||
|
import io.swagger.annotations.ApiParam;
|
||||||
|
import lombok.Data;
|
||||||
|
import lombok.EqualsAndHashCode;
|
||||||
|
import org.hibernate.annotations.DynamicInsert;
|
||||||
|
import org.hibernate.annotations.DynamicUpdate;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.Entity;
|
||||||
|
import javax.persistence.Table;
|
||||||
|
import javax.persistence.UniqueConstraint;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description : 工位表
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jessica.chen
|
||||||
|
* @CreateDate : 2019-12-03 14:21
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name="WMS_TERMINAL")
|
||||||
|
@Api("工位信息")
|
||||||
|
public class WmsTerminal extends BaseBean{
|
||||||
|
|
||||||
|
private static final long serialVersionUID = 9214639813072592713L;
|
||||||
|
@Column(name="TERMINAL_NO")
|
||||||
|
@ApiParam("工位代码")
|
||||||
|
private String terminalNo;
|
||||||
|
|
||||||
|
@Column(name="TERMINAL_NAME")
|
||||||
|
@ApiParam("工位名称")
|
||||||
|
private String terminalName;
|
||||||
|
|
||||||
|
@Column(name="PDLINE_NO")
|
||||||
|
@ApiParam("产线代码")
|
||||||
|
private String pdlineNo;
|
||||||
|
}
|
@ -0,0 +1,17 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.wms.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.BasVendor;
|
||||||
|
import cn.estsh.i3plus.pojo.wms.bean.WmsTerminal;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :工位信息
|
||||||
|
* @Reference :
|
||||||
|
* @Author : jessica.chen
|
||||||
|
* @CreateDate : 2018-11-07 14:49
|
||||||
|
* @Modify:
|
||||||
|
**/
|
||||||
|
@Repository
|
||||||
|
public interface WmsTerminalRepository extends BaseRepository<WmsTerminal, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue