| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343 |
- package com.dk.mdm.model.vo.ivt;
- import cn.afterturn.easypoi.excel.annotation.Excel;
- import com.alibaba.fastjson.JSONArray;
- import com.alibaba.fastjson.JSONObject;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableName;
- import com.dk.common.infrastructure.annotaiton.ExportTitle;
- import com.dk.common.infrastructure.handler.JsonTypeHandler;
- import com.dk.common.infrastructure.handler.TimestampTypeHandler;
- import com.dk.common.infrastructure.handler.UuidTypeHandler;
- import com.dk.common.model.pojo.PageInfo;
- import com.dk.common.model.vo.AnnexVO;
- import com.dk.mdm.model.vo.mac.RecPayItemVO;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import lombok.AllArgsConstructor;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import lombok.NoArgsConstructor;
- import lombok.experimental.Accessors;
- import java.io.Serializable;
- import java.math.BigDecimal;
- import java.time.LocalDate;
- import java.time.LocalDateTime;
- import java.util.List;
- import java.util.Map;
- /**
- * 出库单
- */
- @Data
- @Accessors(chain = true)
- public class OutboundVO{
- /*
- * 数据库字段
- */
- @ApiModelProperty(value = "收款明细")
- private List<RecPayItemVO> itemListRecPayItemVO;
- /**
- * 收款金额
- */
- @Excel(name = "收款金额")
- @ApiModelProperty(value = "收款金额")
- private BigDecimal sumAmtRec;
- /**
- * 收付款类型 (【系统字典】收款、付款)
- */
- @Excel(name = "收付款类型 (【系统字典】收款、付款)")
- @ApiModelProperty(value = "收付款类型 (【系统字典】收款、付款)")
- private String rpType;
- /**
- * 收付款日期 (账务日期)
- */
- @Excel(name = "收付款日期 (账务日期)")
- @ApiModelProperty(value = "收付款日期 (账务日期)")
- @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDate accDate;
- /**
- * 账务对象ID (账务对象:客户、供应商)
- */
- @Excel(name = "账务对象ID (账务对象:客户、供应商)")
- @ApiModelProperty(value = "账务对象ID (账务对象:客户、供应商)")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String objectId;
- /**
- * 出库单ID
- */
- @ApiModelProperty(value = "出库单ID")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String outId;
- /**
- * 入库金额
- */
- @Excel(name = "入库金额")
- @ApiModelProperty(value = "入库金额")
- private BigDecimal intoAmt;
- /**
- * 出库单号
- */
- @ApiModelProperty(value = "出库单号")
- private String outNo;
- /**
- * 出库类型 (【系统字典】销售出库、采退出库、其他出库)
- */
- @ApiModelProperty(value = "出库类型 (【系统字典】销售出库、采退出库、其他出库)")
- private String outType;
- /**
- * 来源单ID (销售订单、入库退货)
- */
- @ApiModelProperty(value = "来源单ID (销售订单、入库退货)")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String fromId;
- /**
- * 来源单号
- */
- @ApiModelProperty(value = "来源单号")
- private String fromNo;
- /**
- * 部门
- */
- @ApiModelProperty(value = "部门")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String orgId;
- /**
- * 员工
- */
- @ApiModelProperty(value = "员工")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String staffId;
- /**
- * 客户
- */
- @ApiModelProperty(value = "客户")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String cusId;
- /**
- * 供应商
- */
- @ApiModelProperty(value = "供应商")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String supId;
- /**
- * 出库状态 (【系统字典】)
- */
- @ApiModelProperty(value = "出库状态 (【系统字典】)")
- private String outStatus;
- /**
- * 出库中数量
- */
- @ApiModelProperty(value = "出库中数量")
- private BigDecimal outingQty;
- /**
- * 出库中金额
- */
- @ApiModelProperty(value = "出库中金额")
- private BigDecimal outingAmt;
- /**
- * 已出库数量
- */
- @ApiModelProperty(value = "已出库数量")
- private BigDecimal outQty;
- /**
- * 已出库金额
- */
- @ApiModelProperty(value = "已出库金额")
- private BigDecimal outAmt;
- /**
- * 已出库退货数量
- */
- @ApiModelProperty(value = "已出库退货数量")
- private BigDecimal returnQty;
- /**
- * 已出库退货金额
- */
- @ApiModelProperty(value = "已出库退货金额")
- private BigDecimal returnAmt;
- /**
- * 出库日期
- */
- @ApiModelProperty(value = "出库日期")
- @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDate outDate;
- /**
- * 备注
- */
- @ApiModelProperty(value = "备注")
- private String remarks;
- /**
- * 附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)
- */
- @ApiModelProperty(value = "附件 (index(显示顺序)、name(文件名)、path(路径)、type(类型)、time(上传时间)...)")
- @TableField(typeHandler = JsonTypeHandler.class)
- private List<AnnexVO> annexPaths;
- /**
- * 制单员
- */
- @ApiModelProperty(value = "制单员")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String makeStaff;
- /**
- * 制单时间
- */
- @ApiModelProperty(value = "制单时间")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDateTime makeTime;
- /**
- * 应收款单
- */
- @ApiModelProperty(value = "应收款单")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String receivableId;
- /**
- * 有效标识 (1:正常 0:停用)
- */
- @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
- private Boolean flgValid;
- @ApiModelProperty(value = "出库原因")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String outReason;
- /**
- * 企业ID
- */
- @ApiModelProperty(value = "企业ID")
- private Integer cpId;
- @Excel(name = "自动办理标识")
- @ApiModelProperty(value = "自动办理标识")
- private Boolean flgAutoHandle;
- @Excel(name = "自动办理参数")
- @ApiModelProperty(value = "自动办理参数")
- private Boolean flgHandleSetting;
- @ApiModelProperty(value = "明细")
- private List<OutboundItemVO> itemList;
- @ApiModelProperty(value = "删除明细")
- private List<OutboundItemVO> deleteItemList;
- /*
- * 相关属性
- * @TableField(exist = false)
- */
- /*
- * 关联属性 + 查询条件
- * @TableField(exist = false)
- */
- @ApiModelProperty(value = "自动入库标识")
- private Boolean automaticFlg;
- @ApiModelProperty(value = "客户电话")
- private String cusPhone;
- @ApiModelProperty(value = "客户名称")
- private String cusName;
- @ApiModelProperty(value = "客户来源 (【数据字典】)")
- private String cusFrom;
- @ApiModelProperty(value = "行政区划 (a1:省 a2:市 a3:区)")
- @TableField(typeHandler = JsonTypeHandler.class)
- private JSONObject addressArea;
- @ApiModelProperty(value = "小区或POI")
- private String addressName;
- @ApiModelProperty(value = "门牌号")
- private String addressNo;
- @ApiModelProperty(value = "地址坐标(gcj02) (LAT:纬度的值 LON:经度的值)")
- @TableField(typeHandler = JsonTypeHandler.class)
- private JSONObject addressGcj02;
- @ApiModelProperty(value = "详细地址")
- private String addressFull;
- @ApiModelProperty(value = "联系人")
- private String contactName;
- @Excel(name = "联系电话")
- @ApiModelProperty(value = "联系电话")
- private String contactPhone;
- @ApiModelProperty(value = "销售渠道")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String salesChannel;
- @ApiModelProperty(value = "部门明细")
- private List<Map<String, Object>> orgList;
- @ApiModelProperty(value = "员工明细")
- private List<Map<String, Object>> staffList;
- @ApiModelProperty(value = "编辑标识")
- private Boolean limitEdit;
- private static final long serialVersionUID = 1L;
- }
|