package com.cftech.base.codingrule.model;

import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * t_codingrule 实体类
 * 编码规则表
 * Created by Neil 16/02/2017.
 */
@Data
public class Codingrule implements Serializable {
    /**
     * 名称id
     */
    private Long id;

    /**
     * 编码规则名称
     */
    private String name;

    /**
     * 所属的账号
     */
    private Long accountsId;

    /**
     * 状态
     */
    private String status;

    /**
     * 创建时间
     */
    private Timestamp createTime;

    /**
     * updateTime
     */
    private Timestamp updateTime;

    /**
     * description
     */
    private String description;

    /**
     * delFlag
     */
    private boolean delFlag;

    /**
     * createBy
     */
    private Long createBy;

    /**
     * updateBy
     */
    private Long updateBy;

    /**
     * 业务对象
     */
    private String bo;

    /**
     * 规则模版
     */
    private String tpl;

    /**
     * 间隔符号
     */
    private String mid;


    public Codingrule() {
        this.delFlag = false;
        this.status = "0";
    }
}