package org.jeecg.modules.mdc.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import lombok.Data;
|
import lombok.EqualsAndHashCode;
|
import lombok.experimental.Accessors;
|
|
import java.io.Serializable;
|
|
/**
|
* 产线设备
|
*
|
* @author: LiuS
|
* @create: 2023-03-24 15:54
|
*/
|
@Data
|
@TableName("base_equipment_factory")
|
@EqualsAndHashCode(callSuper = false)
|
@Accessors(chain = true)
|
@ApiModel(value = "base_equipment_factory对象", description = "产线设备表")
|
public class FactoryEquipment implements Serializable {
|
|
private static final long serialVersionUID = 1684188898785392096L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(type = IdType.ASSIGN_ID)
|
private String id;
|
/**
|
* 产线id
|
*/
|
private String factoryId;
|
/**
|
* 设备id
|
*/
|
private String equipmentId;
|
|
public FactoryEquipment(String id, String factoryId, String equipmentId) {
|
super();
|
this.id = id;
|
this.factoryId = factoryId;
|
this.equipmentId = equipmentId;
|
}
|
|
public FactoryEquipment(String id, String factoryId) {
|
this.equipmentId = id;
|
this.factoryId = factoryId;
|
}
|
}
|