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.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 短信参数
 * </p>
 *
 * @author XKF
 * @since 2025-02-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("SMSPARAMETERS")
@ApiModel(value="Smsparameters对象", description="短信参数")
public class Smsparameters extends Model<Smsparameters> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "短信ID")
    private Long msgid;

    @ApiModelProperty(value = "参数序号")
    @TableField("OFFSET")
    private Integer offset;

    @ApiModelProperty(value = "参数")
    @TableField("PARAM")
    private String param;


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

}
