package com.casic.missiles.model.meter;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel
@TableName("meter_price_category")
public class MeterPriceCategory implements Serializable {

    private static final long serialVersionUID = 3734458833527172572L;
    /**
     * 主键
     */
    @TableId("id")
    @ApiModelProperty(value = "主键", dataType = "Long")
    private Long id;

    /**
     * 校验类型-字典code
     */
    @TableField("check_type_code")
    @ApiModelProperty(value = "校验类型-字典code", dataType = "String")
    private String checkTypeCode;

    /**
     * 类别名称
     */
    @ApiModelProperty(value = "类别名称", dataType = "String")
    @TableField("category_name")
    private String categoryName;

    /**
     * 备注
     */
    @TableField("remark")
    @ApiModelProperty(value = "备注", dataType = "String", required = false)
    private String remark;

    /**
     * 删除标记
     */
    @TableField("is_del")
    private Integer isDel;

    /**
     * 创建人
     */
    @TableField("create_user")
    private Long createUser;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private String createTime;

    /**
     * 更新时间
     */
    @TableField("update_time")
    private String updateTime;

    public MeterPriceCategory(Long id ,String checkTypeCode, String categoryName) {
        this.id = id;
        this.checkTypeCode = checkTypeCode;
        this.categoryName = categoryName;
    }

    public MeterPriceCategory() {
    }
}
