package com.shkj.wms.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.shkj.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * 规则详情对象 bas_rule_detail
 *
 * @author j.liang
 * @date 2022-12-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("base_rule_detail")
public class BasRuleDetail extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 规则详情id
     */
    @TableId(value = "ruledetail_id")
    private Long ruledetailId;
    /**
     * 规则项
     */
    private String ruleItem;
    /**
     * 规则值
     */
    private String ruleValue;
    /**
     * 规则长度
     */
    private Long ruleLength;
    /**
     * 归零规则（0每天 1每周 2每月 3每年 4从不）
     */
    private String ruleZero;
    /**
     * 补零规则（0前置补零 1不补零）
     */
    private String ruleZeroize;
    /**
     * 按变量归零（0是 1否）
     */
    private String ruleVariable;

    private Long ruleId;

}
