EquipmentBindSparepart.java
1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
package com.skua.modules.equipment.entity;
import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
/**
* 设备关联备品备件
*/
@Data
@TableName("equipment_info_bind_sparepart")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="equipment_info_bind_sparepart对象", description="设备关联备品备件")
public class EquipmentBindSparepart {
/**id*/
@TableId(type = IdType.ID_WORKER_STR)
@ApiModelProperty(value = "id")
private String id;
/**货主组织*/
@Excel(name = "货主组织", width = 15)
@ApiModelProperty(value = "货主组织")
private String departId;
/**备品备件id*/
@Excel(name = "备品备件id", width = 15)
@ApiModelProperty(value = "备品备件id")
private String equipmentId;
/**物料编号*/
@Excel(name = "物料编号", width = 15)
@ApiModelProperty(value = "备品备件编号")
private String sparepartId;
@TableField(exist=false)
@ApiModelProperty(value = "备品备件编号集合")
private String sparepartIdList;
}