package com.gxwebsoft.hjm.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 黄家明_违章记录
 *
 * @author 科技小王子
 * @since 2025-06-20 13:48:43
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "HjmViolation对象", description = "黄家明_违章记录")
public class HjmViolation implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "自增ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "标题")
    private String title;

    @Schema(description = "车辆编号")
    private String code;

    @Schema(description = "车辆头像")
    @TableField(exist = false)
    private String image;

    @Schema(description = "文章分类ID")
    private Integer categoryId;

    @Schema(description = "处罚金额")
    private BigDecimal money;

    @Schema(description = "扣分")
    private BigDecimal score;

    @Schema(description = "录入员")
    private Integer adminId;

    @Schema(description = "用户ID")
    private Integer userId;

    @Schema(description = "排序(数字越小越靠前)")
    private Integer sortNumber;

    @Schema(description = "备注")
    private String comments;

    @Schema(description = "状态, 0未处理, 1已处理")
    private Integer status;

    @Schema(description = "租户id")
    private Integer tenantId;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @Schema(description = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;

}
