package org.dromara.work.domain;

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

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

/**
 * 拆单记录对象 tp_order_cd
 *
 * @author Maosw
 * @date 2024-08-12
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tp_order_cd")
public class TpOrderCd extends BaseEntity {

    @Serial
    private static final long serialVersionUID = 1L;

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

    /**
     * 所属订单
     */
    private Long oid;

    /**
     * 订单价格
     */
    private BigDecimal price;

    /**
     * 下单时间
     */
    private Long addTime;

    /**
     * 操作人
     */
    private Long addUser;


}
