/* * Copyright (c) 2018-2028, Chill Zhuang All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * Neither the name of the dreamlu.net developer nor the names of its * contributors may be used to endorse or promote products derived from * this software without specific prior written permission. * Author: Chill 庄骞 (smallchill@163.com) */ package com.vci.ubcs.code.entity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import com.vci.ubcs.starter.constant.CodeTableNameConstant; import com.vci.ubcs.starter.revision.model.BaseModel; import io.swagger.annotations.ApiModel; import lombok.Data; import lombok.EqualsAndHashCode; import javax.validation.constraints.NotBlank; /** * 编码规则 实体类 * * @author ludc * @since 2023-04-03 */ @Data @TableName(CodeTableNameConstant.PL_CODE_RULE) @ApiModel(value = "CodeRule对象", description = "编码规则") @EqualsAndHashCode(callSuper = true) public class CodeRule extends BaseModel { /** * 序列化 */ private static final long serialVersionUID = -7142347409110551299L; /** * 规则编号 */ @NotBlank(message = "规则编号不能为空") private String id; /** * 规则的名称 */ @NotBlank(message = "规则的名称不能为空") private String name; /** * 规则的描述 */ private String description; /** * 依据 */ @NotBlank(message = "规则依据不能为空") private String accordingTo; /** * 基础码段的码段类型顺序拼接而成的字符串 */ private String basicSecTypes; /** * 所有者在界面显示内容(账号(用户名)) */ private String ownerText; }