package com.its.api.its.model.entity.unit;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * 단위 시스템 상태 Entity Class
 */
@Getter
@NoArgsConstructor(access = AccessLevel.PROTECTED)
@Builder
@AllArgsConstructor
@ApiModel("단위 시스템 상태")
@Entity
@Table(name = "TB_UNIT_SYST_STTS")
public class TbUnitSystStts implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("시스템 ID")  // N VARCHAR(30)
    @Id
    @Column(name = "SYST_ID", nullable = false, length = 30)
    private String systId;

    @ApiModelProperty("시스템 상태 코드")  // Y VARCHAR(7)
    @Column(name = "SYST_STTS_CD", length = 7)
    private String systSttsCd;

    @ApiModelProperty("갱신 일시")  // Y VARCHAR(14)
    @Column(name = "UPDT_DT", length = 14)
    private String updtDt;

    @ApiModelProperty("비고")  // Y VARCHAR(100)
    @Column(name = "RMRK", length = 100)
    private String rmrk;

}
