package com.fdkankan.ucenter.entity;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;
import com.fdkankan.ucenter.typehandle.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2024-07-09
 */
@Getter
@Setter
@TableName(value = "t_ucenter_system",autoResultMap = true)
public class UcenterSystem implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("lang")
    private String lang;

    @TableField(typeHandler = JsonObjTypeHandler.class)
    private JSONObject content;

    @TableField("rec_status")
    @TableLogic(value = "A",delval = "I")
    private String recStatus;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime;


}
