package com.fizz.business.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@TableName("roll_change_cycle")
@Schema(description = "换辊")
public class RollChangeCycle implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "类型")
    private String type;

    @Schema(description = "位置")
    private String position;

    @Schema(description = "机架号")
    private Integer standid;

    @Schema(description = "轧制长度")
    private Double rolledLength;

    @Schema(description = "轧制重量")
    private Double rolledWeight;

    @Schema(description = "轧制数量")
    private Integer rolledCount;

    @Schema(description = "insdate")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime insdate;
}
