package com.huatek.busi.entity;

import java.io.Serializable;
import java.time.LocalDateTime;

import org.springframework.format.annotation.DateTimeFormat;

import com.huatek.torch.sql.annotation.FieldName;
import com.huatek.torch.sql.annotation.TableName;
import com.huatek.torch.sql.beans.Pojo;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 缺陷类别
 * @author anker_cheng
 * @date Jul 4, 2019 2:15:32 PM
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("fault_category")
public class FaultCategory extends Pojo implements Serializable  {
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @FieldName("id")
    private String id;
    /**
     * 缺陷类别名称
     */
    @FieldName("category_name")
    private String categoryName;
    /**
     * 创建日期
     */
    @FieldName("insdate")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime insdate;
}