package com.fizz.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
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.time.LocalDateTime;

@Data
@TableName("mod_setup_result")
@Schema( description= "轧机设置结果实体类")
public class ModSetupResult {

    @Schema(description = "自增主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @Schema(description = "logid")
    private Long logId;

    @Schema(description = "钢卷ID")
    private String coilId;

    @Schema(description = "道次号")
    private Integer passno;

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

    @Schema(description = "断面ID")
    private Integer fractId;

    @Schema(description = "速度限制")
    private Integer speedLimit;

    @Schema(description = "力限制")
    private Integer forceLimit;

    @Schema(description = "功率限制")
    private Integer powerLimit;

    @Schema(description = "入口厚度")
    private Float entryThick;

    @Schema(description = "出口厚度")
    private Float exitThick;

    @Schema(description = "最小厚度")
    private Float minThick;

    @Schema(description = "压下率")
    private Float reduction;

    @Schema(description = "摩擦系数")
    private Float friction;

    @Schema(description = "入口凸度")
    private Float entryCrown;

    @Schema(description = "出口凸度")
    private Float exitCrown;

    @Schema(description = "入口张力")
    private Float entryTension;

    @Schema(description = "出口张力")
    private Float exitTension;

    @Schema(description = "入口应力")
    private Float entryTenstress;

    @Schema(description = "出口应力")
    private Float exitTenstress;

    @Schema(description = "速度比")
    private Float speedFract;

    @Schema(description = "入口速度")
    private Float entrySpeed;

    @Schema(description = "出口速度")
    private Float exitSpeed;

    @Schema(description = "轧制速度")
    private Float rollSpeed;

    @Schema(description = "入口应变")
    private Float sigmae;

    @Schema(description = "出口应变")
    private Float sigmas;

    @Schema(description = "平均应变")
    private Float sigmaave;

    @Schema(description = "轧制力")
    private Float rollForce;

    @Schema(description = "轧辊间隙")
    private Float rollgap;

    @Schema(description = "超出间隙")
    private Float overgap;

    @Schema(description = "轧机刚度")
    private Float millModulus;

    @Schema(description = "滑移")
    private Float slip;

    @Schema(description = "变形半径")
    private Float rdef;

    @Schema(description = "轧制角度")
    private Float angle;

    @Schema(description = "中心流量")
    private Float centerFlow;

    @Schema(description = "边缘流量")
    private Float edgeFlow;

    @Schema(description = "中心压力")
    private Float centerPress;

    @Schema(description = "边缘压力")
    private Float edgePress;

    @Schema(description = "入口温度")
    private Float entryTemp;

    @Schema(description = "出口温度")
    private Float exitTemp;

    @Schema(description = "工作辊弯曲")
    private Float wrbend;

    @Schema(description = "支撑辊弯曲")
    private Float irbend;

    @Schema(description = "支撑辊位移")
    private Float irshift;

    @Schema(description = "电机电流")
    private Float motorCurrent;

    @Schema(description = "电机电压")
    private Float motorVoltage;

    @Schema(description = "轧制扭矩")
    private Float rollTorque;

    @Schema(description = "总轧制扭矩")
    private Float totalRollTorque;

    @Schema(description = "电机扭矩")
    private Float motorTorque;

    @Schema(description = "扭矩比")
    private Float torqueRatio;

    @Schema(description = "比扭矩")
    private Float specTorque;

    @Schema(description = "功率")
    private Float power;

    @Schema(description = "负载比")
    private Float loadRatio;

    @Schema(description = "计算ID 实际用的这个值")
    private String calcId;

    @Schema(description = "记录插入时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime insdate;

    @Schema(description = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
}
