package com.muchinfo.mtp3pojos.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 仓单贸易对手表(记录固定价指定对手)
 * </p>
 *
 * @author XKF
 * @since 2024-08-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("WRTRADE_MATCHDETAIL")
@ApiModel(value="WrtradeMatchdetail对象", description="仓单贸易对手表(记录固定价指定对手)")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class WrtradeMatchdetail extends Model<WrtradeMatchdetail> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "仓单贸易委托单ID(挂牌委托)")
    private Long wrtradeorderid;

    @ApiModelProperty(value = "对手用户ID")
    @TableField("MATCHUSERID")
    private Long matchuserid;


    @Override
    public Serializable pkVal() {
        return this.wrtradeorderid;
    }

}
