package com.junmp.jyzb.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@TableName(value ="bussiness_inventory_children_detail")
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
public class BussinessInventoryChildrenDetail implements Serializable {
    /**
     * id
     */
    @TableId(value = "id")
    @Id
    private String id;

    /**
     * 工作流id
     */
    @TableField(value = "inv_detail_id")
    private String InvDetailId;

    /**
     * 是否已使用
     */
    @TableField(value = "is_use")
    private Integer isUse;
    /**
     * 工作流id
     */
    @TableField(value = "production_date")
    private String productionDate;
    /**
     * 工作流id
     */
    @TableField(value = "warranty_period")
    private String warrantyPeriod;
    /**
     * 单据编号
     */
    @TableField(value = "maintenance_period")
    private String maintenancePeriod;

    /**
     * 年度
     */
    @TableField(value = "num")
    private Integer num;

    /**
     * 月
     */
    @TableField(value = "price")
    private Integer price;


    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    private Date updateTime;


    private static final long serialVersionUID = 1L;

}