【任务 1480 照片采集】
parent
cc207240b4
commit
74e4aa953b
@ -0,0 +1,45 @@
|
|||||||
|
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 java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : zcg
|
||||||
|
* @Date : 2020/3/18 0018 - 9:07
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_SN_PHOTO_RELATION")
|
||||||
|
@Api("条码照片关系")
|
||||||
|
public class MesSnPhotoRelation extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -7732648131003455681L;
|
||||||
|
|
||||||
|
@Column(name = "SERIAL_NUMBER")
|
||||||
|
@ApiParam("条码")
|
||||||
|
private String serialNumber;
|
||||||
|
|
||||||
|
@Column(name = "PHOTO_PATH")
|
||||||
|
@ApiParam("照片路径")
|
||||||
|
private String photoPath;
|
||||||
|
|
||||||
|
@Column(name = "PHOTO_NAME")
|
||||||
|
@ApiParam("照片名称")
|
||||||
|
private String photoName;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,45 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.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 java.io.Serializable;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : zcg
|
||||||
|
* @Date : 2020/3/18 0018 - 9:02
|
||||||
|
*/
|
||||||
|
@Data
|
||||||
|
@Entity
|
||||||
|
@DynamicInsert
|
||||||
|
@DynamicUpdate
|
||||||
|
@EqualsAndHashCode(callSuper = true)
|
||||||
|
@Table(name = "MES_SN_PHOTO_RELATION")
|
||||||
|
@Api("条码照片关系")
|
||||||
|
public class MesSnPhotoRelation extends BaseBean implements Serializable {
|
||||||
|
|
||||||
|
private static final long serialVersionUID = -3062206473345277360L;
|
||||||
|
|
||||||
|
@Column(name = "SERIAL_NUMBER")
|
||||||
|
@ApiParam("条码")
|
||||||
|
private String serialNumber;
|
||||||
|
|
||||||
|
@Column(name = "PHOTO_PATH")
|
||||||
|
@ApiParam("照片路径")
|
||||||
|
private String photoPath;
|
||||||
|
|
||||||
|
@Column(name = "PHOTO_NAME")
|
||||||
|
@ApiParam("照片名称")
|
||||||
|
private String photoName;
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
package cn.estsh.i3plus.pojo.mes.repository;
|
||||||
|
|
||||||
|
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesShiftRest;
|
||||||
|
import cn.estsh.i3plus.pojo.mes.bean.MesSnPhotoRelation;
|
||||||
|
import org.springframework.stereotype.Repository;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @Description :
|
||||||
|
* @Reference :
|
||||||
|
* @Author : zcg
|
||||||
|
* @Date : 2020/3/18 0018 - 9:18
|
||||||
|
*/
|
||||||
|
@Repository
|
||||||
|
public interface MesSnPhotoRelationRepository extends BaseRepository<MesSnPhotoRelation, Long> {
|
||||||
|
}
|
Loading…
Reference in New Issue