|
|
|
@ -10,10 +10,7 @@ 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 javax.persistence.*;
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
@ -29,7 +26,10 @@ import java.util.List;
|
|
|
|
|
@DynamicInsert
|
|
|
|
|
@DynamicUpdate
|
|
|
|
|
@EqualsAndHashCode(callSuper = true)
|
|
|
|
|
@Table(name = "MES_PLC")
|
|
|
|
|
@Table(name = "MES_PLC", indexes = {
|
|
|
|
|
@Index(columnList = "PLC_CODE"),
|
|
|
|
|
@Index(columnList = "TAG_ADDRESS")
|
|
|
|
|
})
|
|
|
|
|
@Api("PLC配置表")
|
|
|
|
|
public class MesPlc extends BaseBean implements Serializable {
|
|
|
|
|
private static final long serialVersionUID = -7172265186837551268L;
|
|
|
|
|