package com.chinaweal.aiccs.aiccs.revoke.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 违法行为
 * </p>
 *
 * @author Lee
 * @since 2021-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("aiccs.illegalact")
public class Illegalact extends Model<Illegalact> {

    private static final long serialVersionUID=1L;

    /**
     * 违法行为id
     */
    @TableId(value = "illegactId", type = IdType.ASSIGN_UUID)
    private String illegactId;

    /**
     * 案件id
     */
    @TableField("caseId")
    private String caseId;

    /**
     * 违法行为大类
     */
    @TableField("illegactTypeL")
    private String illegactTypeL;

    /**
     * 违法行为中类
     */
    @TableField("illegactTypeM")
    private String illegactTypeM;

    /**
     * 违法行为小类
     */
    @TableField("illegactTypes")
    private String illegactTypeS;

    /**
     * 具体违法行为
     */
    private String illegact;

    /**
     * 最后更新时间
     */
    @TableField("laupTime")
    @JsonIgnore
    private LocalDateTime laupTime;


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

}
