JIS
parent
8584946ce5
commit
bf62494236
@ -0,0 +1,51 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.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.Transient;
|
||||
|
||||
/**
|
||||
* @Description :产品配置明细
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PROD_CFG_DETAIL")
|
||||
@Api("产品配置明细")
|
||||
public class MesProdCfgDetail extends BaseBean {
|
||||
@Column(name = "PROD_CFG_CODE")
|
||||
@ApiParam("产品配置代码")
|
||||
private String prodCfgCode;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("零件号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "IS_VIRTUAL")
|
||||
@ApiParam("是否虚零件")
|
||||
private Integer isVirtual;
|
||||
|
||||
@Transient
|
||||
@ApiParam("零件名称")
|
||||
private String partName;
|
||||
|
||||
public int getIsVirtualVal() {
|
||||
return this.isVirtual == null ? 0 : this.isVirtual;
|
||||
}
|
||||
}
|
@ -0,0 +1,38 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.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;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-04-26-10:25
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_PRODUCE_CATEGORY")
|
||||
@Api("系统业务动作")
|
||||
public class MesProduceCategory extends BaseBean {
|
||||
|
||||
@Column(name = "PRODUCE_CTGY_CODE")
|
||||
@ApiParam("产品类型代码")
|
||||
private String produceCategoryCode;
|
||||
|
||||
@Column(name = "PRODUCE_CTGY_NAME")
|
||||
@ApiParam("产品类型名称")
|
||||
private String produceCategoryName;
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesProdCfgDetail;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description :
|
||||
* @Reference :
|
||||
* @Author : jack.jia
|
||||
* @CreateDate : 2019-04-02
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesProdCfgDetailRepository extends BaseRepository<MesProdCfgDetail, Long> {
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
package cn.estsh.i3plus.pojo.mes.pcn.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.pcn.bean.MesProduceCategory;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: Crish
|
||||
* @CreateDate:2019-04-26-10:28
|
||||
* @Modify:
|
||||
**/
|
||||
@Repository
|
||||
public interface MesProduceCategoryRepository extends BaseRepository<MesProduceCategory, Long> {
|
||||
}
|
Loading…
Reference in New Issue