package com.zbf.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.zbf.common.annotation.Excel;
import com.zbf.common.core.domain.BaseEntity;

/**
 * 盘点单对象 t_pan_order
 *
 * @author wgs
 * @date 2024-06-20
 */
@Data
@ToString
@AllArgsConstructor
@EqualsAndHashCode
@NoArgsConstructor
@TableName(resultMap = "com.zbf.system.mapper.TPanOrderMapper.TPanOrderResult")
public class TPanOrder extends BaseEntity {
private static final long serialVersionUID = 1L;

    /** 主键 */
    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    /** 盘点单号 */
    @Excel(name = "盘点单号")
    private String panId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderId;

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    private String storageId;
    /** 仓库编号 */
    @Excel(name = "仓库名称")
    private String storageShortName;

    /** 库区编号 */
    @Excel(name = "库区编号")
    private String storageAreaId;

    /** 盘点总数 */
    @Excel(name = "盘点总数")
    private Long total;

    /** 盘盈数量 */
    @Excel(name = "盘盈数量")
    private Long muchNum;

    /** 盘亏数量 */
    @Excel(name = "盘亏数量")
    private Long lessNum;

    /** 盘平数量 */
    @Excel(name = "盘平数量")
    private Long justNum;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 审核人 */
    @Excel(name = "审核人")
    private String auditMan;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditDate;

    /** 确认状态 */
    @Excel(name = "确认状态")
    private String confirmStatus;

    /** 操作人 */
    @Excel(name = "操作人")
    private String recordPerson;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date recordDate;

    /** 任务号 */
    @Excel(name = "任务号")
    private String taskId;

    private int delFlag;

    private Long deptId;

}


















