package com.yuchen.saas.park.api.response;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * @author 肖祥
 * @date 2022/9/28 11:52
 * @Description 消防设施部件新增请求
 */
@Data
@ApiModel(value = "设施部件相应对象", description = "设施部件相应对象")
public class FireFacilityPartResponse implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "部件id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long id;

    @ApiModelProperty(value = "部件父id")
    @JsonSerialize(
            using = ToStringSerializer.class
    )
    private Long parentId;

    @ApiModelProperty(value = "部件名称")
    private String name;

    @ApiModelProperty(value = "巡查标准")
    private String inspectStandard;

    @ApiModelProperty(value = "生产时间")
    private Date productTime;

    @ApiModelProperty(value = "过期时间")
    private Date expireTime;

    @ApiModelProperty(value = "备注")
    private String remark;
}
