package cn.pluss.platform.entity;

import  java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

@Data
public class DeviceMerchantBuy {

    @TableId
    private Integer id;
    private String orderNo;
    private String transNo;
    private Double orderAmount;
    private String merchantCode;
    private String merchantName;
    private String venderCode;
    private String venderModel;
    private String status;
    private String payCode;
    private String payName;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createDt;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date transDt;
    private String refundNo;
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date refundDt;
    private String expressNo;
    private String provinces;
    private String address;
    private Integer quantity;
    private String linkName;
    private String linkPhone;
    private String email;
    //激活状态
    private String actStatus;
    @TableField(exist = false)
    private String alias;
    @TableField(exist = false)
    private String userId;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private Date startTime;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @TableField(exist = false)
    private Date endTime;
    private String snNo;

    /**
     * 上送物流单号
     * @date: 2022/2/25 15:18
     */
    private String logistNo;

    /**
     * 商品名称
     */
    @TableField(exist = false)
    private String name;

    /**
     * 商品code
     */
    @TableField(exist = false)
    private String code;

    /**
     * 设备类型
     */
    @TableField(exist = false)
    private String deviceType;
}

