package com.shkj.wms.vo;

import com.shkj.common.annotation.Excel;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


/**
 * 规则详情视图对象 bas_rule_detail
 *
 * @author j.liang
 * @date 2022-12-08
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class BasRuleDetailVo {

    private static final long serialVersionUID = 1L;

    /**
     * 规则详情id
     */
    @Excel(name = "规则详情id")
    private Long ruledetailId;

    /**
     * 规则项
     */
    @Excel(name = "规则项")
    private String ruleItem;

    /**
     * 规则值
     */
    @Excel(name = "规则值")
    private String ruleValue;

    /**
     * 规则长度
     */
    @Excel(name = "规则长度")
    private Long ruleLength;

    /**
     * 归零规则（0每天 1每周 2每月 3每年 4从不）
     */
    @Excel(name = "归零规则" /*,converter = ExcelDictConvert.class*/)
   /* @ExcelDictFormat(readConverterExp = "0=每天,1=每周,2=每月,3=每年,4=从不")*/
    private String ruleZero;

    /**
     * 补零规则（0前置补零 1不补零）
     */
    @Excel(name = "补零规则"/*, converter = ExcelDictConvert.class*/)
  /*  @ExcelDictFormat(readConverterExp = "0=前置补零,1=不补零")*/
    private String ruleZeroize;

    /**
     * 按变量归零（0是 1否）
     */
    @Excel(name = "按变量归零"/*, converter = ExcelDictConvert.class*/)
   /* @ExcelDictFormat(readConverterExp = "0=是,1=否")*/
    private String ruleVariable;

    private Long ruleId;


}
