package com.sckw.order.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.sckw.core.model.base.BaseModel;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
 * @desc: 交易订单合同（采购合同/销售合同）
 * @author: yzc
 * @date: 2023-06-25 9:31
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("kwo_trade_order_contract")
public class KwoTradeOrderContract extends BaseModel implements Serializable {

    @Serial
    private static final long serialVersionUID = -3482504164031633290L;
    /**
     * 合同id
     */
    private Long contractId;

    /**
     * 合同编号
     */
    private String contractNo;

    /**
     * 订单id（销售订单/采购订单）
     */
    @JsonProperty("tOrderId")
    private Long tOrderId;

    /**
     * 订单编号（销售订单/采购订单）
     */
    @JsonProperty("tOrderNo")
    private String tOrderNo;

}
