package com.fs.store.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fs.common.annotation.Excel;
import com.fs.common.core.domain.BaseEntity;
import lombok.Data;

/**
 * 线下订单对象 fs_store_order_offline
 *
 * @author fs
 * @date 2024-10-29
 */
@Data
public class FsStoreOrderOffline extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long orderId;

    /** 订单id */
    @Excel(name = "订单id")
    private Long crmId;

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

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

    /** 应付金额 */
    @Excel(name = "应付金额")
    private BigDecimal payPrice;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private BigDecimal payMoney;

    /** 凭证小票 */
    @Excel(name = "凭证小票")
    private String certificates;

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

    /** 员工id */
    @Excel(name = "员工id")
    private Long companyUserId;

    /** 上传小票员工id */
    @Excel(name = "上传小票员工id")
    private Long uploadUserId;

    private Long companyId;

    private Date auditTime;//审核时间

    private String auditBy;//审核人


    /** 购买药店 */
    @Excel(name = "购买药店")
    private String storeName;

    /** 药店地址 */
    @Excel(name = "药店地址")
    private String storeAddress;

    /** 批号 */
    @Excel(name = "批号")
    private String batchNo;

    /** 监管码 */
    @Excel(name = "监管码")
    private String businessCode;
}
