懒羊羊
2024-01-10 a556270e96bc6e7fa4202c466d57cc75f778c614
提交 | 用户 | 时间
71e81e 1 package cn.stylefeng.guns.modular.bs.bomInfo.entity;
2
3 import com.baomidou.mybatisplus.annotation.TableName;
4 import com.baomidou.mybatisplus.annotation.IdType;
5 import com.baomidou.mybatisplus.annotation.TableId;
6 import com.baomidou.mybatisplus.annotation.TableField;
7 import java.io.Serializable;
8
9 /**
10  * <p>
11  * bom信息
12  * </p>
13  *
14  * @author 
15  * @since 2022-10-24
16  */
17 @TableName("bs_bom_info")
18 public class BomInfo implements Serializable {
19
20     private static final long serialVersionUID=1L;
21
22     /**
23      * 主键id
24      */
25       @TableId(value = "id", type = IdType.ID_WORKER)
26     private Long id;
27
28     /**
29      * 物料编号
30      */
31     @TableField("material_code")
32     private String materialCode;
33
34     /**
35      * 物料名称
36      */
37     @TableField("material_name")
38     private String materialName;
39
40     /**
41      * 产品编号
42      */
43     @TableField("product_code")
44     private String productCode;
45
46     /**
47      * 产品名称
48      */
49     @TableField("product_name")
50     private String productName;
51
52     /**
53      * 工位编号
54      */
55     @TableField("location_code")
56     private String locationCode;
57
58     /**
59      * 工位名称
60      */
61     @TableField("location_name")
62     private String locationName;
63
64     /**
65      * 工位编号
66      */
67     @TableField("loading_code")
68     private String loadingCode;
69
70     public String getLoadingCode() {
71         return loadingCode;
72     }
73
74     public void setLoadingCode(String loadingCode) {
75         this.loadingCode = loadingCode;
76     }
77
78     public String getLoadingName() {
79         return loadingName;
80     }
81
82     public void setLoadingName(String loadingName) {
83         this.loadingName = loadingName;
84     }
85
86     /**
87      * 工位名称
88      */
89     @TableField("loading_name")
90     private String loadingName;
91
92     /**
93      * 追溯类型
94      */
95     @TableField("traceability_type")
96     private String traceabilityType;
97
98     /**
99      * 数量
100      */
101     @TableField("quantity")
102     private Long quantity;
103
104     /**
105      * 备注
106      */
107     @TableField("remarks")
108     private String remarks;
109
a55627 110     /**
111      * 备注
112      */
113     @TableField("line_code")
114     private String lineCode;
115
116     public String getLineCode() {
117         return lineCode;
118     }
119
120     public void setLineCode(String lineCode) {
121         this.lineCode = lineCode;
122     }
71e81e 123
124     public Long getId() {
125         return id;
126     }
127
128     public void setId(Long id) {
129         this.id = id;
130     }
131
132     public String getMaterialCode() {
133         return materialCode;
134     }
135
136     public void setMaterialCode(String materialCode) {
137         this.materialCode = materialCode;
138     }
139
140     public String getMaterialName() {
141         return materialName;
142     }
143
144     public void setMaterialName(String materialName) {
145         this.materialName = materialName;
146     }
147
148     public String getProductCode() {
149         return productCode;
150     }
151
152     public void setProductCode(String productCode) {
153         this.productCode = productCode;
154     }
155
156     public String getProductName() {
157         return productName;
158     }
159
160     public void setProductName(String productName) {
161         this.productName = productName;
162     }
163
164     public String getLocationCode() {
165         return locationCode;
166     }
167
168     public void setLocationCode(String locationCode) {
169         this.locationCode = locationCode;
170     }
171
172     public String getLocationName() {
173         return locationName;
174     }
175
176     public void setLocationName(String locationName) {
177         this.locationName = locationName;
178     }
179
180
181     public String getTraceabilityType() {
182         return traceabilityType;
183     }
184
185     public void setTraceabilityType(String traceabilityType) {
186         this.traceabilityType = traceabilityType;
187     }
188
189     public Long getQuantity() {
190         return quantity;
191     }
192
193     public void setQuantity(Long quantity) {
194         this.quantity = quantity;
195     }
196
197     public String getRemarks() {
198         return remarks;
199     }
200
201     public void setRemarks(String remarks) {
202         this.remarks = remarks;
203     }
204
205     @Override
206     public String toString() {
207         return "BomInfo{" +
208         "id=" + id +
209         ", materialCode=" + materialCode +
210         ", materialName=" + materialName +
211         ", productCode=" + productCode +
212         ", productName=" + productName +
213                 ", locationCode=" + locationCode +
214                 ", locationName=" + locationName +
215         ", traceabilityType=" + traceabilityType +
216         ", quantity=" + quantity +
217         ", remarks=" + remarks +
218         "}";
219     }
220 }