|
@@ -1,8 +1,11 @@
|
|
package com.ym.mec.web.dal.entity;
|
|
package com.ym.mec.web.dal.entity;
|
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
+
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
|
|
|
|
+import com.ym.mec.web.dal.enums.GoodsType;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 对应数据库表(subject_plan_goods_mapper):
|
|
* 对应数据库表(subject_plan_goods_mapper):
|
|
*/
|
|
*/
|
|
@@ -10,61 +13,82 @@ public class SubjectGoodsMapper {
|
|
|
|
|
|
/** */
|
|
/** */
|
|
private Long id;
|
|
private Long id;
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ @ApiModelProperty(value = "组织编号", required = false)
|
|
|
|
+ private Integer organId;
|
|
|
|
+
|
|
/** */
|
|
/** */
|
|
- @ApiModelProperty(value = "科目编号",required = false)
|
|
|
|
|
|
+ @ApiModelProperty(value = "科目编号", required = false)
|
|
private String subjectId;
|
|
private String subjectId;
|
|
-
|
|
|
|
|
|
+
|
|
/** */
|
|
/** */
|
|
- @ApiModelProperty(value = "商品编号",required = false)
|
|
|
|
|
|
+ @ApiModelProperty(value = "商品编号", required = false)
|
|
private Integer goodsId;
|
|
private Integer goodsId;
|
|
-
|
|
|
|
|
|
+
|
|
|
|
+ private GoodsType type;
|
|
|
|
+
|
|
/** */
|
|
/** */
|
|
private java.util.Date createTime;
|
|
private java.util.Date createTime;
|
|
-
|
|
|
|
|
|
+
|
|
/** */
|
|
/** */
|
|
private java.util.Date updateTime;
|
|
private java.util.Date updateTime;
|
|
-
|
|
|
|
- public void setId(Long id){
|
|
|
|
|
|
+
|
|
|
|
+ public void setId(Long id) {
|
|
this.id = id;
|
|
this.id = id;
|
|
}
|
|
}
|
|
-
|
|
|
|
- public Long getId(){
|
|
|
|
|
|
+
|
|
|
|
+ public Long getId() {
|
|
return this.id;
|
|
return this.id;
|
|
}
|
|
}
|
|
-
|
|
|
|
- public void setSubjectId(String subjectId){
|
|
|
|
|
|
+
|
|
|
|
+ public Integer getOrganId() {
|
|
|
|
+ return organId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setOrganId(Integer organId) {
|
|
|
|
+ this.organId = organId;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setSubjectId(String subjectId) {
|
|
this.subjectId = subjectId;
|
|
this.subjectId = subjectId;
|
|
}
|
|
}
|
|
-
|
|
|
|
- public String getSubjectId(){
|
|
|
|
|
|
+
|
|
|
|
+ public String getSubjectId() {
|
|
return this.subjectId;
|
|
return this.subjectId;
|
|
}
|
|
}
|
|
-
|
|
|
|
- public void setGoodsId(Integer goodsId){
|
|
|
|
|
|
+
|
|
|
|
+ public void setGoodsId(Integer goodsId) {
|
|
this.goodsId = goodsId;
|
|
this.goodsId = goodsId;
|
|
}
|
|
}
|
|
-
|
|
|
|
- public Integer getGoodsId(){
|
|
|
|
|
|
+
|
|
|
|
+ public Integer getGoodsId() {
|
|
return this.goodsId;
|
|
return this.goodsId;
|
|
}
|
|
}
|
|
-
|
|
|
|
- public void setCreateTime(java.util.Date createTime){
|
|
|
|
|
|
+
|
|
|
|
+ public GoodsType getType() {
|
|
|
|
+ return type;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setType(GoodsType type) {
|
|
|
|
+ this.type = type;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setCreateTime(java.util.Date createTime) {
|
|
this.createTime = createTime;
|
|
this.createTime = createTime;
|
|
}
|
|
}
|
|
-
|
|
|
|
- public java.util.Date getCreateTime(){
|
|
|
|
|
|
+
|
|
|
|
+ public java.util.Date getCreateTime() {
|
|
return this.createTime;
|
|
return this.createTime;
|
|
}
|
|
}
|
|
-
|
|
|
|
- public void setUpdateTime(java.util.Date updateTime){
|
|
|
|
|
|
+
|
|
|
|
+ public void setUpdateTime(java.util.Date updateTime) {
|
|
this.updateTime = updateTime;
|
|
this.updateTime = updateTime;
|
|
}
|
|
}
|
|
-
|
|
|
|
- public java.util.Date getUpdateTime(){
|
|
|
|
|
|
+
|
|
|
|
+ public java.util.Date getUpdateTime() {
|
|
return this.updateTime;
|
|
return this.updateTime;
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+
|
|
@Override
|
|
@Override
|
|
public String toString() {
|
|
public String toString() {
|
|
return ToStringBuilder.reflectionToString(this);
|
|
return ToStringBuilder.reflectionToString(this);
|