package cn.timer.api.bean.xcgl;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * @author lalqq
 *
 */
@Entity
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Table(name="xcgl_asso_xzdadx")
@ApiModel("薪资档案-定薪")
public class XcglAssoXzdadx extends Model<XcglAssoXzdadx> {

    /**
	 * 
	 */
	private static final long serialVersionUID = -3852047536790933041L;

	@Id
    @GeneratedValue
    @TableId (type = IdType.AUTO)
	@ApiModelProperty(value="id",example="1")
    private Integer id;
    
	@ApiModelProperty(value="用户id",example="6000125")
    private Integer userid;
    
	@ApiModelProperty(value="生效日期 ",example="生效日期")
    private String sxrq;
    
	@TableField(fill = FieldFill.INSERT)
	@ApiModelProperty(value = "添加时间 ", example = "添加时间")
	private Long addtime;
    
	@ApiModelProperty(value="修改用户id ",example="修改用户id")
    private Integer xgyhid;
    
	@ApiModelProperty(value="备注 ",example="备注")
    private String remarks;
    
	@ApiModelProperty(value="企业id",example="117")
    private Integer qyid;
	
	@ApiModelProperty(value="使用状态(0:使用中;1:历史)",example="0")
    private Integer txzt;
    

}