package org.jeecg.modules.stm.rate.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
 

import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 评分规则
 * @Author: jeecg-boot
 * @Date:   2023-09-18
 * @Version: V1.0
 */
@Data
@TableName("rate_rule")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
 
public class RateRule implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    
    private java.lang.String id;
	/**创建人*/
    
    private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    
    private java.util.Date createTime;
	/**更新人*/
    
    private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    
    private java.util.Date updateTime;
	/**所属部门*/
    
    private java.lang.String sysOrgCode;
	/**规则编号*/
	@Excel(name = "规则编号", width = 15)
    
    private java.lang.String rulenum;
	/**规则名称*/
	@Excel(name = "规则名称", width = 15)
    
    private java.lang.String rulename;
	/**适用对象*/
	@Excel(name = "适用对象", width = 15, dicCode = "applyrange")
	@Dict(dicCode = "applyrange")
    
    private java.lang.String ruleobject;
	/**规则说明*/
	@Excel(name = "规则说明", width = 15)
    
    private java.lang.String ruleremark;
	/**计分规则*/
	@Excel(name = "计分规则", width = 15, dicCode = "rate_scoretype")
	@Dict(dicCode = "rate_scoretype")
    
    private java.lang.String rateScoretype;
	/**总分*/
	@Excel(name = "总分", width = 15)
    
    private java.lang.Double score;
}
