| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- <?php
- namespace common\models;
- use Yii;
- /**
- * This is the model class for table "{{%EXCEL_REG_INFO}}".
- *
- * @property string $ID
- * @property string $EXCEL_IMPORT_ID 导入记录表ID
- * @property string $USER_NAME 会员编号
- * @property string $REAL_NAME 会员姓名
- * @property string $ID_CARD 身份证
- * @property string $REG_TYPE 注册类型
- * @property string $REG_NAME 注册名称
- * @property string $CREDIT_CODE 统一社会信用代码
- * @property string $PREMISES 经营场所
- * @property string $REG_EXPIRES 注册有效期
- * @property string $LEGAL_PERSON 法人
- * @property string $OPEN_NAME 企业开户银行
- * @property string $OPEN_BANK 企业开户银行
- * @property string $BANK_ADDRESS 企业开户行地址
- * @property string $BANK_NO 企业银行账号
- * @property string $BANK_PROVINCE 企业银行省市
- * @property string $BANK_CITY 企业银行市区
- * @property string $BANK_COUNTY 企业银行区县
- * @property string $REMARK 备注
- * @property int $SORT 序号
- * @property int $STATUS 状态
- * @property string $ERROR_REMARK 错误备注
- * @property int $CREATED_AT 创建时间
- */
- class ExcelRegInfo extends \common\components\ActiveRecord
- {
- /**
- * {@inheritdoc}
- */
- public static function tableName()
- {
- return '{{%EXCEL_REG_INFO}}';
- }
- /**
- * {@inheritdoc}
- */
- public function rules()
- {
- return [
- [['EXCEL_IMPORT_ID', 'SORT', 'CREATED_AT'], 'required'],
- [['SORT', 'STATUS', 'CREATED_AT'], 'integer'],
- [['ID', 'EXCEL_IMPORT_ID', 'USER_NAME', 'REAL_NAME', 'ID_CARD', 'REG_TYPE', 'BANK_NO', 'BANK_PROVINCE', 'BANK_CITY', 'BANK_COUNTY'], 'string', 'max' => 32],
- [['REG_NAME', 'CREDIT_CODE', 'PREMISES', 'REG_EXPIRES', 'LEGAL_PERSON', 'OPEN_NAME', 'OPEN_BANK', 'BANK_ADDRESS'], 'string', 'max' => 255],
- [['REMARK', 'ERROR_REMARK'], 'string', 'max' => 4000],
- [['ID'], 'unique'],
- ];
- }
- /**
- * {@inheritdoc}
- */
- public function attributeLabels()
- {
- return [
- 'ID' => 'ID',
- 'EXCEL_IMPORT_ID' => '导入记录表ID',
- 'USER_NAME' => '会员编号',
- 'REAL_NAME' => '会员姓名',
- 'ID_CARD' => '身份证',
- 'REG_TYPE' => '注册类型',
- 'REG_NAME' => '注册名称',
- 'CREDIT_CODE' => '统一社会信用代码',
- 'PREMISES' => '经营场所',
- 'REG_EXPIRES' => '注册有效期',
- 'LEGAL_PERSON' => '法人',
- 'OPEN_NAME' => '企业开户银行',
- 'OPEN_BANK' => '企业开户银行',
- 'BANK_ADDRESS' => '企业开户行地址',
- 'BANK_NO' => '企业银行账号',
- 'BANK_PROVINCE' => '企业银行省市',
- 'BANK_CITY' => '企业银行市区',
- 'BANK_COUNTY' => '企业银行区县',
- 'REMARK' => '备注',
- 'SORT' => '序号',
- 'STATUS' => '状态',
- 'ERROR_REMARK' => '错误备注',
- 'CREATED_AT' => '创建时间',
- ];
- }
- }
|