Newer
Older
huludao / src / main / java / com / newfiber / api / pc / model / entity / SysOrganization.java
package com.newfiber.api.pc.model.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.newfiber.api.core.utils.PageUtil;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("sys_organization")
public class SysOrganization extends PageUtil implements Serializable{
	@TableId(value = "serial",type = IdType.AUTO)
	private Long serial;
	@TableField("org_no")
	private String orgNo;
	@TableField("org_name")
	private String orgName;
	@TableField("org_type")
	private int orgType;
	@TableField("org_type_zn")
	private String orgTypeZn;
	@TableField("org_state")
	private int orgState;
	@TableField("org_state_zn")
	private String orgStateZn;
	@TableField("address")
	private String address;
	@TableField("remark")
	private String remark;
	@TableField("order_sort")
	private int  orderSort ;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@TableField("create_time")
	private  Date createTime;
	@JSONField(format = "yyyy-MM-dd HH:mm:ss")
	@TableField("update_time")
	private Date updateTime;
	@TableField(exist = false)
	private String roleNo;

}