| | |
| | | package com.gkhy.assess.system.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | |
| | |
| | | import lombok.Getter; |
| | | import lombok.Setter; |
| | | import lombok.experimental.Accessors; |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import javax.validation.constraints.Size; |
| | | |
| | | import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL; |
| | | |
| | |
| | | |
| | | @TableId(value = "id", type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | @ApiModelProperty("住标题") |
| | | @Length(min = 1, max = 50, message = "主标题不能超过50个字符") |
| | | @ApiModelProperty("主标题") |
| | | @TableField("title") |
| | | private String title; |
| | | |
| | | @Length(min = 0, max = 50, message = "副标题不能超过50个字符") |
| | | @ApiModelProperty("副标题") |
| | | @TableField("sub_title") |
| | | private String subTitle; |
| | | |
| | | @ApiModelProperty("内容") |
| | | @Length(min = 1,max=16777215,message = "法律法规内容过长,无法保存") |
| | | @TableField("content") |
| | | private String content; |
| | | |
| | |
| | | @TableField("law_type") |
| | | private String lawType; |
| | | |
| | | @Length(min = 0, max = 50, message = "颁布机构名称不能超过50个字符") |
| | | @ApiModelProperty("颁布机构") |
| | | @TableField("pub_agency") |
| | | private String pubAgency; |
| | |
| | | @TableField("remark") |
| | | private String remark; |
| | | |
| | | @Version |
| | | @ApiModelProperty("乐观锁") |
| | | @TableField("version") |
| | | private Integer version; |
| | | |
| | | @ApiModelProperty("删除标志(0代表存在,1代表删除,默认0)") |
| | | @TableField("del_flag") |
| | | private Integer delFlag; |
| | | |
| | | |
| | | |
| | | } |