package com.centreproject.system.domain.sync.kpi;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author zhonglei.xu
 * @description 同步规则
 */
@Data
@TableName("sync_rule")
public class SyncRule {
    @TableId(type = IdType.AUTO)
    private Long id;

    private String moduleName;
    private String fieldName;
    private Integer ruleType;
    private String defaultValue;
    private BigDecimal thresholdMin;
    private BigDecimal thresholdMax;
    private String alertEmail;
    private Integer status;
    // 标准字段
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;
    private String remark;
}