package com.sptg.permissions.api.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Getter;
import lombok.Setter;

/**
 * @author zwx
 * @create 2020/11/2 15:17
 */
@Getter
@Setter
@TableName(value = "sms_template")
public class SmsTemplate {

    /**
     * 主键id
     */
    @TableId(value = "l_id", type = IdType.AUTO)
    private Long id;

    /**
     * 模板业务编号
     */
    @TableField(value = "s_code")
    private String code;

    /**
     * 模板内容
     */
    @TableField(value = "s_content")
    private String content;
}
