是否已刪除标识

yun-zuoyi
alwaysfrin 7 years ago
parent 3f293c6746
commit 6dcb783c21

@ -10,6 +10,7 @@ import lombok.Data;
import org.hibernate.annotations.GenericGenerator; import org.hibernate.annotations.GenericGenerator;
import javax.persistence.*; import javax.persistence.*;
import javax.xml.bind.annotation.XmlType;
import java.io.Serializable; import java.io.Serializable;
/** /**
@ -52,9 +53,13 @@ public abstract class BaseBean implements Serializable {
@ApiParam(value ="组织代码") @ApiParam(value ="组织代码")
private String organizeCode; private String organizeCode;
@Column(name="is_deleted")
@ApiParam(value = "是否已删除",example = "2")
public Integer isDeleted; //CommonEnumUtil.TRUE_OR_FALSE
@Column(name="is_valid") @Column(name="is_valid")
@ApiParam(value = "有效性",example = "1") @ApiParam(value = "有效性",example = "1")
public Integer isValid; //EnumUtil.isValid; public Integer isValid; //CommonEnumUtil.IS_VAILD;
@Column(name="create_user",updatable = false) @Column(name="create_user",updatable = false)
@ApiParam(value = "创建用户") @ApiParam(value = "创建用户")

Loading…
Cancel
Save