package cn.pluss.platform.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 费率修改记录表
 * </p>
 *
 * @author Djh
 * @since 2020-09-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_pluss_merchant_rate_record")
public class MerchantRateRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 用户id
     */
    @TableField("userId")
    private String userId;

    /**
     * 费率
     */
    private Integer rate;

    /**
     * 创建时间
     */
    @TableField("createTime")
//    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
