Commit 189de1f2 by XiaHou

万科接口补充

parent 0d3f588d
package com.macro.mall.mapper;
import com.macro.mall.model.VankeGoods;
import com.macro.mall.model.VankeGoodsExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface VankeGoodsMapper {
long countByExample(VankeGoodsExample example);
int deleteByExample(VankeGoodsExample example);
int deleteByPrimaryKey(Long id);
int insert(VankeGoods record);
int insertSelective(VankeGoods record);
List<VankeGoods> selectByExample(VankeGoodsExample example);
VankeGoods selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") VankeGoods record, @Param("example") VankeGoodsExample example);
int updateByExample(@Param("record") VankeGoods record, @Param("example") VankeGoodsExample example);
int updateByPrimaryKeySelective(VankeGoods record);
int updateByPrimaryKey(VankeGoods record);
}
\ No newline at end of file
package com.macro.mall.mapper;
import com.macro.mall.model.VankeSupplier;
import com.macro.mall.model.VankeSupplierExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface VankeSupplierMapper {
long countByExample(VankeSupplierExample example);
int deleteByExample(VankeSupplierExample example);
int deleteByPrimaryKey(Long id);
int insert(VankeSupplier record);
int insertSelective(VankeSupplier record);
List<VankeSupplier> selectByExample(VankeSupplierExample example);
VankeSupplier selectByPrimaryKey(Long id);
int updateByExampleSelective(@Param("record") VankeSupplier record, @Param("example") VankeSupplierExample example);
int updateByExample(@Param("record") VankeSupplier record, @Param("example") VankeSupplierExample example);
int updateByPrimaryKeySelective(VankeSupplier record);
int updateByPrimaryKey(VankeSupplier record);
}
\ No newline at end of file
package com.macro.mall.model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.*;
import org.springframework.format.annotation.DateTimeFormat;
@Entity
public class VankeGoods implements Serializable {
@ApiModelProperty(value = "id")
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
private Long id;
@ApiModelProperty(value = "物品名")
private String name;
@ApiModelProperty(value = "货号")
private String goodsNo;
@ApiModelProperty(value = "物品数量")
private Integer goodsNum;
@ApiModelProperty(value = "条形码")
private String barCode;
@ApiModelProperty(value = "物品价格")
private BigDecimal prict;
@ApiModelProperty(value = "供应商id")
private Long supplierId;
@ApiModelProperty(value = "库房id")
private Long stockRoomId;
@ApiModelProperty(value = "商品分类id")
private Long goodsCategoryId;
@ApiModelProperty(value = "备注")
private String remarks;
@ApiModelProperty(value = "1未删除 0已删除")
private Integer deleteStatus;
@ApiModelProperty(value = "1启用 0禁用")
private Integer status;
@ApiModelProperty(value = "创建人")
private Long createBy;
@ApiModelProperty(value = "修改人")
private Long updateBy;
@ApiModelProperty(value = "创建时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createtime;
@ApiModelProperty(value = "更新时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updatetime;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getGoodsNo() {
return goodsNo;
}
public void setGoodsNo(String goodsNo) {
this.goodsNo = goodsNo;
}
public Integer getGoodsNum() {
return goodsNum;
}
public void setGoodsNum(Integer goodsNum) {
this.goodsNum = goodsNum;
}
public String getBarCode() {
return barCode;
}
public void setBarCode(String barCode) {
this.barCode = barCode;
}
public BigDecimal getPrict() {
return prict;
}
public void setPrict(BigDecimal prict) {
this.prict = prict;
}
public Long getSupplierId() {
return supplierId;
}
public void setSupplierId(Long supplierId) {
this.supplierId = supplierId;
}
public Long getStockRoomId() {
return stockRoomId;
}
public void setStockRoomId(Long stockRoomId) {
this.stockRoomId = stockRoomId;
}
public Long getGoodsCategoryId() {
return goodsCategoryId;
}
public void setGoodsCategoryId(Long goodsCategoryId) {
this.goodsCategoryId = goodsCategoryId;
}
public String getRemarks() {
return remarks;
}
public void setRemarks(String remarks) {
this.remarks = remarks;
}
public Integer getDeleteStatus() {
return deleteStatus;
}
public void setDeleteStatus(Integer deleteStatus) {
this.deleteStatus = deleteStatus;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Long getCreateBy() {
return createBy;
}
public void setCreateBy(Long createBy) {
this.createBy = createBy;
}
public Long getUpdateBy() {
return updateBy;
}
public void setUpdateBy(Long updateBy) {
this.updateBy = updateBy;
}
public Date getCreatetime() {
return createtime;
}
public void setCreatetime(Date createtime) {
this.createtime = createtime;
}
public Date getUpdatetime() {
return updatetime;
}
public void setUpdatetime(Date updatetime) {
this.updatetime = updatetime;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", name=").append(name);
sb.append(", goodsNo=").append(goodsNo);
sb.append(", goodsNum=").append(goodsNum);
sb.append(", barCode=").append(barCode);
sb.append(", prict=").append(prict);
sb.append(", supplierId=").append(supplierId);
sb.append(", stockRoomId=").append(stockRoomId);
sb.append(", goodsCategoryId=").append(goodsCategoryId);
sb.append(", remarks=").append(remarks);
sb.append(", deleteStatus=").append(deleteStatus);
sb.append(", status=").append(status);
sb.append(", createBy=").append(createBy);
sb.append(", updateBy=").append(updateBy);
sb.append(", createtime=").append(createtime);
sb.append(", updatetime=").append(updatetime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
package com.macro.mall.model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import javax.persistence.*;
import org.springframework.format.annotation.DateTimeFormat;
@Entity
public class VankeSupplier implements Serializable {
@ApiModelProperty(value = "id")
@Id
@GeneratedValue(strategy= GenerationType.IDENTITY)
private Long id;
@ApiModelProperty(value = "供应商名称")
private String supplierName;
@ApiModelProperty(value = "联系人")
private String name;
@ApiModelProperty(value = "手机号")
private String tel;
@ApiModelProperty(value = "供应物品数量")
private Integer goodsNum;
@ApiModelProperty(value = "备注")
private String remarks;
@ApiModelProperty(value = "1未删除 0已删除")
private Integer deleteStatus;
@ApiModelProperty(value = "1启用 0禁用")
private Integer status;
@ApiModelProperty(value = "创建人")
private Long createBy;
@ApiModelProperty(value = "修改人")
private Long updateBy;
@ApiModelProperty(value = "创建时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date createtime;
@ApiModelProperty(value = "更新时间")
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date updatetime;
private static final long serialVersionUID = 1L;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getSupplierName() {
return supplierName;
}
public void setSupplierName(String supplierName) {
this.supplierName = supplierName;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getTel() {
return tel;
}
public void setTel(String tel) {
this.tel = tel;
}
public Integer getGoodsNum() {
return goodsNum;
}
public void setGoodsNum(Integer goodsNum) {
this.goodsNum = goodsNum;
}
public String getRemarks() {
return remarks;
}
public void setRemarks(String remarks) {
this.remarks = remarks;
}
public Integer getDeleteStatus() {
return deleteStatus;
}
public void setDeleteStatus(Integer deleteStatus) {
this.deleteStatus = deleteStatus;
}
public Integer getStatus() {
return status;
}
public void setStatus(Integer status) {
this.status = status;
}
public Long getCreateBy() {
return createBy;
}
public void setCreateBy(Long createBy) {
this.createBy = createBy;
}
public Long getUpdateBy() {
return updateBy;
}
public void setUpdateBy(Long updateBy) {
this.updateBy = updateBy;
}
public Date getCreatetime() {
return createtime;
}
public void setCreatetime(Date createtime) {
this.createtime = createtime;
}
public Date getUpdatetime() {
return updatetime;
}
public void setUpdatetime(Date updatetime) {
this.updatetime = updatetime;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append(getClass().getSimpleName());
sb.append(" [");
sb.append("Hash = ").append(hashCode());
sb.append(", id=").append(id);
sb.append(", supplierName=").append(supplierName);
sb.append(", name=").append(name);
sb.append(", tel=").append(tel);
sb.append(", goodsNum=").append(goodsNum);
sb.append(", remarks=").append(remarks);
sb.append(", deleteStatus=").append(deleteStatus);
sb.append(", status=").append(status);
sb.append(", createBy=").append(createBy);
sb.append(", updateBy=").append(updateBy);
sb.append(", createtime=").append(createtime);
sb.append(", updatetime=").append(updatetime);
sb.append(", serialVersionUID=").append(serialVersionUID);
sb.append("]");
return sb.toString();
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment