package com.cool.store.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;

/**
 * 费用单流水调整单映射表
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "zxjp_expense_mapping")
public class ExpenseMappingDO {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("费用单号")
    @Column(name = "related_adjustment_no", length = 32)
    private String relatedAdjustmentNo;

    @ApiModelProperty("网商交易流水号")
    @Column(name = "trade_no", length = 32)
    private String tradeNo;
}
