package com.ylx.fareSetting.domian;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.ylx.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 商户车费设置表
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class MaProjectFareSetting extends BaseEntity {

    private static final long serialVersionUID = 4671656628780248461L;

    @ApiModelProperty("主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("商户ID")
    private Long merchantId;

    @ApiModelProperty("是否开启统一设置：0=否, 1=是")
    private Integer isUnified;

    @ApiModelProperty("项目ID")
    private Long projectId;

    @ApiModelProperty("项目名称")
    private String projectName;

    @ApiModelProperty("白天免费公里数")
    private BigDecimal dayFreeKm;

    @ApiModelProperty("夜间免费公里数")
    private BigDecimal nightFreeKm;

    @ApiModelProperty("是否删除 0否1是")
    @TableLogic
    private Integer isDelete;

}
