| | |
| | | package com.zy.system.entity; |
| | | |
| | | import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.baomidou.mybatisplus.annotations.TableField; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import com.baomidou.mybatisplus.annotations.TableId; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import com.baomidou.mybatisplus.enums.IdType; |
| | | import com.core.common.Cools; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.AllArgsConstructor; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import com.baomidou.mybatisplus.annotations.TableName; |
| | | import java.io.Serializable; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | |
| | | @Data |
| | | @TableName("sys_saas_log") |
| | | @AllArgsConstructor |
| | | public class SaasLog implements Serializable { |
| | | |
| | | private static final long serialVersionUID = 1L; |
| | |
| | | /** |
| | | * {0:入库,1:出库} |
| | | */ |
| | | @ApiModelProperty(value= "{0:入库,1:出库}") |
| | | @ApiModelProperty(value= "{0:入库,1:出库,2:移库}") |
| | | private Integer type; |
| | | |
| | | @ApiModelProperty(value= "") |
| | |
| | | @ApiModelProperty(value= "") |
| | | @TableField("create_by_name") |
| | | private String createByName; |
| | | |
| | | private String targetLocNo; |
| | | private String batch; |
| | | private Integer packageNo; |
| | | |
| | | /** |
| | | * 主体 |
| | | */ |
| | | private String owner; |
| | | |
| | | /** |
| | | * 车间 |
| | | */ |
| | | private String workshop; |
| | | |
| | | /** |
| | | * 单据类型 |
| | | */ |
| | | @TableField("doc_type") |
| | | private Long docType; |
| | | |
| | | public SaasLog() {} |
| | | |
| | |
| | | } |
| | | |
| | | public String getType$(){ |
| | | if (this.type == null) { |
| | | return ""; |
| | | } |
| | | if (this.type ==0) { |
| | | return "入库"; |
| | | } else if (this.type == 1) { |
| | |
| | | return "库位移转"; |
| | | } else if (this.type == 3) { |
| | | return "库存调整"; |
| | | }else { |
| | | }else if (this.type == 4) { |
| | | return "退货"; |
| | | } else { |
| | | return ""; |
| | | } |
| | | |
| | | } |
| | | public String getDocType$(){ |
| | | return ""; |
| | | } |
| | | |
| | | |
| | | } |