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-07-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("TRADEFEEDESCRIPTION")
@ApiModel(value="Tradefeedescription对象", description="交易费用说明表")
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Tradefeedescription extends Model<Tradefeedescription> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "交易费用说明ID")
      @TableId(value = "TRADEFEEDESCRIPTIONID")
    private Long tradefeedescriptionid;

    @ApiModelProperty(value = "交易费用 - 101建仓(买)手续费 102平仓(卖)手续费 103买递延费(仓储费) 103卖递延费 104买交割手续费 ")
    @TableField("TRADEFEEID")
    private Integer tradefeeid;

    @ApiModelProperty(value = "费用名称")
    @TableField("TRADEFEENAME")
    private String tradefeename;

    @ApiModelProperty(value = "描述")
    @TableField("REMARK")
    private String remark;


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

}
