package com.chinaweal.aiccs.aiccs.system.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;
import java.time.LocalDate;
import java.time.LocalDateTime;


/**
 * <p>
 * 常用语表
 * </p>
 *
 * @author lwd
 * @since 2021-06-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName(schema = "aiccs", value = "trverifycommon")
@ApiModel(value="TRVerifyCommon对象", description="常用语表")
public class TRVerifyCommon extends Model<TRVerifyCommon> {

    /**
     * 常用语表ID
     */
    @TableId(value = "VERIFYCOMMONID", type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "常用语表ID")
    private String verifycommonid;

    /**
     * 用户id
     */
    @TableField("USERID")
    @ApiModelProperty(value = "常用语表ID")
    private String userid;

    /**
     * 常用语
     */
    @TableField("COMMONLANGUAGE")
    @ApiModelProperty(value = "常用语")
    private String commonlanguage;

    /**
     * 标签
     */
    @TableField("TAG")
    @ApiModelProperty(value = "标签")
    private String tag;

    /**
     * 业务模块
     */
    @TableField("MODULE")
    @ApiModelProperty(value = "业务模块")
    private String module;

    /**
     * 状态(0-有效 1-有效)
     */
    @TableField("DSTATE")
    @ApiModelProperty(value = "状态(0-有效 1-有效)")
    private String dstate;

    /**
     * 创建时间
     */
    @TableField("CREATETIME")
    @ApiModelProperty(value = "创建时间")
    private LocalDate createtime;

    /**
     * 最后更新时间
     */
    @TableField("LAUPTIME")
    @ApiModelProperty(value = "最后更新时间")
    private LocalDate lauptime;

    @Override
    protected Serializable pkVal() {
        return this.verifycommonid;
    }

}
