【12420 19048 喷涂二检增加UNPACK功能 20201112】
parent
4311fef1a3
commit
22ec710d78
@ -0,0 +1,49 @@
|
||||
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 javax.persistence.Transient;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Author: jokelin
|
||||
* @Date: 2020/4/20 5:16 下午
|
||||
* @Modify:
|
||||
*/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_ENUM")
|
||||
@Api("MES_枚举表")
|
||||
public class MesEnum extends BaseBean implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 368174781823424116L;
|
||||
|
||||
@Column(name = "ENUM_CODE")
|
||||
@ApiParam("枚举代码")
|
||||
private String enumCode;
|
||||
|
||||
@Column(name = "ENUM_NAME")
|
||||
@ApiParam("枚举名称")
|
||||
private String enumName;
|
||||
|
||||
@Column(name = "ENUM_VALUE")
|
||||
@ApiParam("枚举值")
|
||||
private String enumValue;
|
||||
|
||||
@Column(name = "ENUM_VALUE_DESC")
|
||||
@ApiParam("枚举值描述")
|
||||
private String enumValueDesc;
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesEnum;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\18 10:32
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesEnumRepository extends BaseRepository<MesEnum, Long> {
|
||||
}
|
Loading…
Reference in New Issue