实体字段添加

yun-zuoyi
amy 6 years ago
parent e3ae013868
commit 1fd8e5e76f

@ -39,4 +39,16 @@ public class WmsLocatePart extends BaseBean{
@Column(name="PART_NAME_RDD") @Column(name="PART_NAME_RDD")
@ApiParam(value ="物料名称") @ApiParam(value ="物料名称")
private String partNameRdd; private String partNameRdd;
@Column(name = "PULL_QTY")
@ApiParam(value = "拉动数量", example = "0")
private Double pullQty;
@Column(name = "MAX")
@ApiParam(value = "最大值", example = "0")
private Double max;
@Column(name = "MIN")
@ApiParam(value = "最小值", example = "0")
private Double min;
} }

@ -2,6 +2,7 @@ package cn.estsh.i3plus.pojo.wms.modelbean;
import cn.estsh.i3plus.pojo.base.bean.BaseBean; import cn.estsh.i3plus.pojo.base.bean.BaseBean;
import cn.estsh.i3plus.pojo.wms.bean.WmsASNMasterDetails; import cn.estsh.i3plus.pojo.wms.bean.WmsASNMasterDetails;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.Api; import io.swagger.annotations.Api;
import io.swagger.annotations.ApiParam; import io.swagger.annotations.ApiParam;
import lombok.Data; import lombok.Data;
@ -9,10 +10,7 @@ import lombok.EqualsAndHashCode;
import org.hibernate.annotations.DynamicInsert; import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate; import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.*;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List; import java.util.List;
/** /**
@ -23,6 +21,10 @@ import java.util.List;
* @Modify: * @Modify:
**/ **/
@Data @Data
@Entity
//以子类table为准
@javax.persistence.Inheritance(strategy= InheritanceType.TABLE_PER_CLASS)
@JsonInclude(value = JsonInclude.Include.NON_EMPTY)
@Api("单据明细Model") @Api("单据明细Model")
public class WmsOrderDetailsModel extends BaseBean { public class WmsOrderDetailsModel extends BaseBean {

Loading…
Cancel
Save