package com.hzs.common.domain.sale.order;

import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.hzs.common.core.web.domain.BaseEntity;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author hzs
 * @since 2023-03-17
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@KeySequence("SA_ORDER_RELATION_ITEMS_SEQ")
@TableName("SA_ORDER_RELATION_ITEMS")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SaOrderRelationItems extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId("PK_ID")
    private Long pkId;

    /**
     * 订单主键
     */
    @TableField("PK_ORDER")
    private Long pkOrder;

    /**
     * 关系主键
     */
    @TableField("PK_ORDER_RELATION")
    private Long pkOrderRelation;

}
