package com.bs.jxc.domain;

import com.bs.common.annotation.Excel;
import com.bs.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import org.apache.poi.hpsf.Decimal;

import java.math.BigDecimal;

/**
 * 船舶基本资料对象 cm_vessel
 *
 * @author bs
 * @date 2023-07-09
 */
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("cm_vessel")
@Data
public class CmVessel extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 船舶ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "船舶ID")
    private Long id;

    /**
     * 船舶编号
     */

    @Excel(name = "船舶编号")
    @ApiModelProperty(value = "船舶编号")
    private String vesselCode;

    /**
     * 船舶名称
     */

    @Excel(name = "船舶名称")
    @ApiModelProperty(value = "船舶名称")
    private String vesselName;

    /**
     * 净吨
     */

    @Excel(name = "净吨")
    @ApiModelProperty(value = "净吨")
    private BigDecimal netTon;

    /**
     * 国籍
     */

    @Excel(name = "国籍")
    @ApiModelProperty(value = "国籍")
    private String nationality;

    /**
     * 船长
     */

    @Excel(name = "船长")
    @ApiModelProperty(value = "船长")
    private BigDecimal vesselLength;

    /**
     * 吃水
     */

    @Excel(name = "吃水")
    @ApiModelProperty(value = "吃水")
    private BigDecimal vesselDraft;

    /**
     * 载重吨
     */

    @Excel(name = "载重吨")
    @ApiModelProperty(value = "载重吨")
    private BigDecimal dwt;

    private String remark;


}
