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_item")
public class MeterPriceItem implements Serializable {

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

    /**
     * 类别id
     */
    @TableField("category_id")
    @ApiModelProperty(value = "类别id", dataType = "String")
    private Long categoryId;

    /**
     * 项目名称
     */
    @ApiModelProperty(value = "项目名称", dataType = "String")
    @TableField("item_name")
    private String itemName;

    /**
     * 备注
     */
    @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 MeterPriceItem(Long id,Long categoryId, String itemName) {
        this.id = id;
        this.categoryId = categoryId;
        this.itemName = itemName;
    }

}
