Merge branches 'dev' and 'test' of http://git.estsh.com/i3-IMPP/i3plus-pojo into test
commit
970105ac19
@ -0,0 +1,83 @@
|
||||
package cn.estsh.i3plus.pojo.mes.bean;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.bean.BaseBean;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiParam;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
import org.hibernate.annotations.DynamicInsert;
|
||||
import org.hibernate.annotations.DynamicUpdate;
|
||||
|
||||
import javax.persistence.Column;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Table;
|
||||
import javax.persistence.Transient;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\6 11:45
|
||||
* @Modify:
|
||||
**/
|
||||
@Data
|
||||
@Entity
|
||||
@DynamicInsert
|
||||
@DynamicUpdate
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Table(name = "MES_CUST_ORDER")
|
||||
@Api("客户信息")
|
||||
public class MesCustOrder extends BaseBean {
|
||||
|
||||
@Column(name = "ORDER_NO")
|
||||
@ApiParam("订单号")
|
||||
private String orderNo;
|
||||
|
||||
@Column(name = "ORDER_TYPE")
|
||||
@ApiParam("订单类型")
|
||||
private Integer orderType;
|
||||
|
||||
@Column(name = "PART_NO")
|
||||
@ApiParam("物料号")
|
||||
private String partNo;
|
||||
|
||||
@Column(name = "PART_NAME")
|
||||
@ApiParam("物料名称")
|
||||
private String partName;
|
||||
|
||||
@Column(name = "QTY")
|
||||
@ApiParam("数量")
|
||||
private Integer qty;
|
||||
|
||||
@Column(name = "STATUS")
|
||||
@ApiParam("状态")
|
||||
private Integer status;
|
||||
|
||||
@Column(name = "ORDER_DATE")
|
||||
@ApiParam("订单日期")
|
||||
private String orderDate;
|
||||
|
||||
@Column(name = "CUST_CODE")
|
||||
@ApiParam("客户代码")
|
||||
private String custCode;
|
||||
|
||||
@Column(name = "CUST_ORDER_NO")
|
||||
@ApiParam("客户订单号")
|
||||
private String custOrderNo;
|
||||
|
||||
@Column(name = "SOURCE")
|
||||
@ApiParam("计划来源")
|
||||
private String source;
|
||||
|
||||
@Column(name = "MEMO")
|
||||
@ApiParam("备注")
|
||||
private String memo;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value = "订单日期查询用,查询开始日期", example = "2019-01-31 23:59:59")
|
||||
public String orderTimeStart;
|
||||
|
||||
@Transient
|
||||
@ApiParam(value = "订单日期查询用,查询结束日期", example = "2019-12-31 23:59:59")
|
||||
public String orderTimeEnd;
|
||||
}
|
@ -0,0 +1,14 @@
|
||||
package cn.estsh.i3plus.pojo.mes.repository;
|
||||
|
||||
import cn.estsh.i3plus.pojo.base.jpa.dao.BaseRepository;
|
||||
import cn.estsh.i3plus.pojo.mes.bean.MesCustOrder;
|
||||
|
||||
/**
|
||||
* @Description:
|
||||
* @Reference:
|
||||
* @Author: joke.wang
|
||||
* @CreateDate: 2019\11\6 13:47
|
||||
* @Modify:
|
||||
**/
|
||||
public interface MesCustOrderRepository extends BaseRepository<MesCustOrder, Long> {
|
||||
}
|
Loading…
Reference in New Issue