package com.engine.organization.entity.hrmresource.vo;

import com.cloudstore.eccom.pc.table.WeaTableType;
import com.engine.organization.annotation.OrganizationTable;
import com.engine.organization.annotation.OrganizationTableColumn;
import com.engine.organization.annotation.OrganizationTableOperate;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author:ml
 * @createTime: 2023/01/06
 * @version: 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@OrganizationTable(pageId = "c0583f20-f10c-11ec-9947-00e04c680716",
        fields = "t.id," +
                "t.lastname," +
                "t.departmentid," +
                "t.subcompanyid1," +
                "t.jobtitle," +
                "t.mobile," +
                "t.telephone," +
                "t.managerid, " +
                "t.dsporder ",
        fromSql = "FROM hrmresource t ",
        orderby = " dsporder ",
        sortway = " asc",
        primarykey = "id",
        operates = {
                @OrganizationTableOperate(text = "查看"),
                @OrganizationTableOperate(index = "1", text = "另存为版本")
        },
        tableType = WeaTableType.CHECKBOX
)
public class HrmResourceJclVO {
    /**
     * 主键
     */
    @OrganizationTableColumn(column = "id", display = false)
    private Long id;
}
