package org.dromara.system.domain;

import com.baomidou.mybatisplus.annotation.*;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tbl_dzbc_cargo_order")
public class TblDzbcCargoOrder extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    private String orderNo;

    private Long tripId;

    private String tripNo;

    private Long userId;

    private String userName;

    private String userPhone;

    private String senderName;

    private String senderPhone;

    private String receiverName;

    private String receiverPhone;

    private Long fromSiteId;

    private String fromSiteName;

    private Long toSiteId;

    private String toSiteName;

    private Integer price;

    private Integer payStatus;

    private LocalDateTime payTime;

    private String payTradeNo;

    private Integer status;

    private Integer cargoCount;

    private BigDecimal cargoWeight;

    private BigDecimal cargoValue;

    private String remark;

    private String ext1;

    private String ext2;
}
